Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 105 kB / 16.41 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001189, allocations: 188.8 kB / 17.34 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00236/0.002361, allocations: 284.3 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9951/0.9951, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 95.84 kB / 0.6821 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4643/0.4663, allocations: 86.97 MB / 0.767 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002738/0.4691, allocations: 1.413 MB / 0.7684 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003411/0.4725, allocations: 2.679 MB / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.4726, allocations: 0 / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.4743, allocations: 0.5811 MB / 0.7716 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.874e-05/0.4743, allocations: 27.83 kB / 0.7716 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.723e-06/0.4744, allocations: 0 / 0.7716 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000257/0.4746, allocations: 162.9 kB / 0.7718 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.139e-05/0.4747, allocations: 32.41 kB / 0.7718 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.947e-05/0.4748, allocations: 63.67 kB / 0.7719 GB, free: 15 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.475, allocations: 79.58 kB / 0.7719 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.475, allocations: 0 / 0.7719 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.4761, allocations: 471.3 kB / 0.7724 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.944e-05/0.4762, allocations: 35.83 kB / 0.7724 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.576e-05/0.4763, allocations: 91.38 kB / 0.7725 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006671/0.4769, allocations: 442.3 kB / 0.7729 GB, free: 13.9 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4769, allocations: 0 / 0.7729 GB, free: 13.9 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.994e-06/0.477, allocations: 0 / 0.7729 GB, free: 13.9 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.477, allocations: 4 kB / 0.7729 GB, free: 13.89 MB / 0.545 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.000768/0.4777, allocations: 0.5528 MB / 0.7735 GB, free: 13.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.4778, allocations: 12.03 kB / 0.7735 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.478, allocations: 103.8 kB / 0.7736 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.4782, allocations: 298.4 kB / 0.7739 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.845e-05/0.4783, allocations: 150.9 kB / 0.774 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.327e-05/0.4783, allocations: 162.9 kB / 0.7742 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.435e-05/0.4784, allocations: 105.5 kB / 0.7743 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/0.4785, allocations: 75.47 kB / 0.7743 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.82e-05/0.4785, allocations: 154.5 kB / 0.7745 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-05/0.4786, allocations: 150.6 kB / 0.7746 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.498e-05/0.4786, allocations: 154.6 kB / 0.7748 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.479, allocations: 0.5406 MB / 0.7753 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.359e-05/0.4791, allocations: 169.1 kB / 0.7755 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.4792, allocations: 80.14 kB / 0.7755 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.4792, allocations: 75.28 kB / 0.7756 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.4792, allocations: 109.8 kB / 0.7757 GB, free: 10.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.4793, allocations: 0 / 0.7757 GB, free: 10.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001787/0.4794, allocations: 57.3 kB / 0.7758 GB, free: 10.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.4795, allocations: 134.7 kB / 0.7759 GB, free: 10.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004207/0.4799, allocations: 437.2 kB / 0.7763 GB, free: 10.22 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.48, allocations: 25.7 kB / 0.7763 GB, free: 10.19 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.155e-05/0.48, allocations: 136.5 kB / 0.7765 GB, free: 10.05 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.4801, allocations: 0 / 0.7765 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.012e-05/0.4801, allocations: 85.67 kB / 0.7766 GB, free: 9.961 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4803, allocations: 342.8 kB / 0.7769 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.4804, allocations: 96.5 kB / 0.777 GB, free: 9.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.4806, allocations: 165.3 kB / 0.7771 GB, free: 9.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.4809, allocations: 309.6 kB / 0.7774 GB, free: 9.016 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4809, allocations: 0 / 0.7774 GB, free: 9.016 MB / 0.545 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004983/0.4814, allocations: 328.9 kB / 0.7777 GB, free: 8.688 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.4814, allocations: 7.984 kB / 0.7778 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.4814, allocations: 7.938 kB / 0.7778 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4815, allocations: 0 / 0.7778 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.428e-06/0.4815, allocations: 11.94 kB / 0.7778 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4815, allocations: 4.219 kB / 0.7778 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.4816, allocations: 39.38 kB / 0.7778 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.4816, allocations: 7.938 kB / 0.7778 GB, free: 8.609 MB / 0.545 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.0002238/0.4819, allocations: 243.5 kB / 0.7781 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.327e-05/0.4819, allocations: 124.6 kB / 0.7782 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.058e-05/0.482, allocations: 122.9 kB / 0.7783 GB, free: 8.109 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.407e-05/0.4821, allocations: 180.3 kB / 0.7785 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-05/0.4821, allocations: 180.2 kB / 0.7786 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.105e-05/0.4822, allocations: 176.3 kB / 0.7788 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.4825, allocations: 481.1 kB / 0.7793 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.307e-05/0.4826, allocations: 105 kB / 0.7794 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.322e-05/0.4826, allocations: 101 kB / 0.7795 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.933e-05/0.4827, allocations: 184.2 kB / 0.7796 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.537e-05/0.4827, allocations: 184.2 kB / 0.7798 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.672e-05/0.4828, allocations: 192.2 kB / 0.78 GB, free: 6.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.685e-05/0.4829, allocations: 180.2 kB / 0.7802 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.483, allocations: 331.6 kB / 0.7805 GB, free: 5.719 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.4831, allocations: 201.8 kB / 0.7807 GB, free: 5.496 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.518e-05/0.4832, allocations: 188.2 kB / 0.7808 GB, free: 5.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.4834, allocations: 105 kB / 0.7809 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.4834, allocations: 180.2 kB / 0.7811 GB, free: 5.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.4835, allocations: 105 kB / 0.7812 GB, free: 4.902 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002619/0.4838, allocations: 283.1 kB / 0.7815 GB, free: 4.625 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4838, allocations: 0 / 0.7815 GB, free: 4.625 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003836/0.4841, allocations: 87.92 kB / 0.7816 GB, free: 4.539 MB / 0.545 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.0003849/0.4845, allocations: 308.4 kB / 0.7819 GB, free: 4.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.4848, allocations: 160.2 kB / 0.782 GB, free: 4.074 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.4848, allocations: 8.062 kB / 0.782 GB, free: 4.066 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.923e-06/0.4848, allocations: 3.938 kB / 0.782 GB, free: 4.062 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.4852, allocations: 469 kB / 0.7825 GB, free: 3.602 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006153/0.4858, allocations: 0.5082 MB / 0.783 GB, free: 3.055 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.4862, allocations: 0.7782 MB / 0.7837 GB, free: 2.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.4862, allocations: 7.438 kB / 0.7837 GB, free: 2.246 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4862, allocations: 0 / 0.7837 GB, free: 2.246 MB / 0.545 GB Notification: Performance of Templates: time 0.005302/0.4915, allocations: 3.154 MB / 0.7868 GB, free: 15.09 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)