Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002619/0.002619, allocations: 80.55 kB / 19.96 MB, free: 4.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003008/0.003008, allocations: 173.2 kB / 23.24 MB, free: 1.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.653/1.653, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.338/3.338, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.156e-05/3.342e-05, allocations: 6.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.004553/0.004587, allocations: 1.419 MB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00558/0.01017, allocations: 2.398 MB / 1.005 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.932e-05/0.01022, allocations: 0 / 1.005 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.002273/0.01249, allocations: 0.5514 MB / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.891e-05/0.01256, allocations: 23.84 kB / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 5.04e-06/0.01256, allocations: 0 / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.01287, allocations: 174.8 kB / 1.006 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 6.419e-05/0.01293, allocations: 12.59 kB / 1.006 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.0131, allocations: 79.8 kB / 1.006 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.01326, allocations: 63.83 kB / 1.006 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.01328, allocations: 0 / 1.006 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.01438, allocations: 415.3 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.207e-05/0.01446, allocations: 39.77 kB / 1.006 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.01457, allocations: 55.86 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0009037/0.01547, allocations: 446.2 kB / 1.007 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.01547, allocations: 0 / 1.007 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.051e-06/0.01548, allocations: 0 / 1.007 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.01548, allocations: 0 / 1.007 GB, free: 7.344 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001032/0.01651, allocations: 0.4889 MB / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.01656, allocations: 9.344 kB / 1.007 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.01677, allocations: 104.1 kB / 1.007 GB, free: 6.711 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.01708, allocations: 247.8 kB / 1.007 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-05/0.01718, allocations: 154.9 kB / 1.008 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.801e-05/0.01728, allocations: 154.9 kB / 1.008 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.01739, allocations: 109.5 kB / 1.008 GB, free: 6.027 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.434e-05/0.01744, allocations: 75.47 kB / 1.008 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.01755, allocations: 154.9 kB / 1.008 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.652e-05/0.01764, allocations: 154.9 kB / 1.008 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.383e-05/0.01774, allocations: 154.5 kB / 1.008 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.01825, allocations: 493.3 kB / 1.009 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.0184, allocations: 181.1 kB / 1.009 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.347e-05/0.01847, allocations: 80.14 kB / 1.009 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.182e-05/0.01852, allocations: 75.28 kB / 1.009 GB, free: 4.641 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.453e-05/0.0186, allocations: 105.8 kB / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 1.021e-06/0.0186, allocations: 0 / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 0.0002117/0.01881, allocations: 57.52 kB / 1.009 GB, free: 4.465 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.01892, allocations: 126.7 kB / 1.009 GB, free: 4.328 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006016/0.01952, allocations: 441.2 kB / 1.01 GB, free: 3.887 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.01955, allocations: 29.7 kB / 1.01 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.01969, allocations: 140.6 kB / 1.01 GB, free: 3.711 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-06/0.01969, allocations: 0 / 1.01 GB, free: 3.711 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.01983, allocations: 85.67 kB / 1.01 GB, free: 3.621 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.02003, allocations: 342.8 kB / 1.01 GB, free: 3.277 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.02019, allocations: 96.59 kB / 1.01 GB, free: 3.184 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.02042, allocations: 169.9 kB / 1.011 GB, free: 2.992 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.02084, allocations: 305.6 kB / 1.011 GB, free: 2.672 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.02084, allocations: 0 / 1.011 GB, free: 2.672 MB / 0.9636 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006026/0.02145, allocations: 333 kB / 1.011 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.02147, allocations: 8 kB / 1.011 GB, free: 2.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.02147, allocations: 0 / 1.011 GB, free: 2.332 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.02149, allocations: 8.219 kB / 1.011 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-06/0.02149, allocations: 0 / 1.011 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.0215, allocations: 11.95 kB / 1.011 GB, free: 2.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.02166, allocations: 51.45 kB / 1.011 GB, free: 2.262 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.02167, allocations: 7.984 kB / 1.011 GB, free: 2.254 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002474/0.02192, allocations: 241.1 kB / 1.012 GB, free: 2.008 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.02203, allocations: 124.8 kB / 1.012 GB, free: 1.879 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.162e-05/0.02211, allocations: 110.8 kB / 1.012 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.844e-05/0.02221, allocations: 184.3 kB / 1.012 GB, free: 1.578 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001044/0.02231, allocations: 184.2 kB / 1.012 GB, free: 1.391 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.891e-05/0.02241, allocations: 180.2 kB / 1.012 GB, free: 1.207 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003801/0.02279, allocations: 428.8 kB / 1.013 GB, free: 0.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.995e-05/0.02285, allocations: 104.9 kB / 1.013 GB, free: 0.6406 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.336e-05/0.02291, allocations: 104.9 kB / 1.013 GB, free: 0.5312 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001076/0.02302, allocations: 184.2 kB / 1.013 GB, free: 352 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.02313, allocations: 180.2 kB / 1.013 GB, free: 164 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001161/0.02325, allocations: 176.3 kB / 1.013 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001001/0.02335, allocations: 184.2 kB / 1.014 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.02357, allocations: 327.5 kB / 1.014 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.0237, allocations: 128.8 kB / 1.014 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.02383, allocations: 188.3 kB / 1.014 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.02399, allocations: 105.2 kB / 1.014 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.02412, allocations: 188.2 kB / 1.015 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.751e-05/0.02419, allocations: 109 kB / 1.015 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000342/0.02453, allocations: 275.1 kB / 1.015 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.02453, allocations: 0 / 1.015 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004393/0.02497, allocations: 83.88 kB / 1.015 GB, free: 14.36 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004911/0.02546, allocations: 317.1 kB / 1.015 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.02571, allocations: 124.2 kB / 1.015 GB, free: 13.92 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.02571, allocations: 4.125 kB / 1.015 GB, free: 13.91 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.744e-06/0.02571, allocations: 4 kB / 1.015 GB, free: 13.91 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.02622, allocations: 457.2 kB / 1.016 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007324/0.02695, allocations: 0.491 MB / 1.016 GB, free: 12.94 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.02713, allocations: 160.2 kB / 1.016 GB, free: 12.76 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 1.441e-05/0.02715, allocations: 4 kB / 1.016 GB, free: 12.76 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.02717, allocations: 12.44 kB / 1.016 GB, free: 12.75 MB / 0.9792 GB Notification: Performance of SimCode: time 5.41e-07/0.02717, allocations: 0 / 1.016 GB, free: 12.75 MB / 0.9792 GB Notification: Performance of Templates: time 0.008343/0.03551, allocations: 3.038 MB / 1.019 GB, free: 9.73 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.704975862056017]