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.001522/0.001522, allocations: 115.3 kB / 16.42 MB, free: 6.504 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.0016/0.0016, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.375/1.375, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002343/0.002343, allocations: 294.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9555/0.9555, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 99.84 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.4395, allocations: 86.98 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002501/0.442, allocations: 1.405 MB / 0.7684 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003213/0.4453, allocations: 2.672 MB / 0.771 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.849e-05/0.4453, allocations: 0 / 0.771 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.4471, allocations: 0.5772 MB / 0.7716 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.019e-05/0.4472, allocations: 27.83 kB / 0.7716 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.111e-06/0.4472, allocations: 0 / 0.7716 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.4474, allocations: 166.9 kB / 0.7718 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.599e-05/0.4475, allocations: 28.41 kB / 0.7718 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.612e-05/0.4476, allocations: 59.73 kB / 0.7719 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.4477, allocations: 83.58 kB / 0.7719 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.4478, allocations: 4 kB / 0.7719 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.4489, allocations: 467.3 kB / 0.7724 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.627e-05/0.449, allocations: 35.83 kB / 0.7724 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.98e-05/0.4491, allocations: 99.38 kB / 0.7725 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006408/0.4497, allocations: 442.1 kB / 0.7729 GB, free: 13.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4497, allocations: 0 / 0.7729 GB, free: 13.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4497, allocations: 0 / 0.7729 GB, free: 13.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.4498, allocations: 0 / 0.7729 GB, free: 13.88 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.000738/0.4505, allocations: 0.5567 MB / 0.7735 GB, free: 13.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.4505, allocations: 12.03 kB / 0.7735 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.4507, allocations: 103.8 kB / 0.7736 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.451, allocations: 294.4 kB / 0.7739 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/0.451, allocations: 158.9 kB / 0.774 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.4511, allocations: 154.9 kB / 0.7742 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.457e-05/0.4512, allocations: 105.5 kB / 0.7743 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.4512, allocations: 79.47 kB / 0.7743 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.105e-05/0.4512, allocations: 154.5 kB / 0.7745 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-05/0.4513, allocations: 150.6 kB / 0.7746 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.35e-05/0.4514, allocations: 154.5 kB / 0.7748 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.4517, allocations: 0.5406 MB / 0.7753 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.845e-05/0.4518, allocations: 173.1 kB / 0.7755 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.4519, allocations: 80.14 kB / 0.7756 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.4519, allocations: 75.28 kB / 0.7756 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.452, allocations: 109.8 kB / 0.7757 GB, free: 10.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.452, allocations: 0 / 0.7757 GB, free: 10.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001917/0.4522, allocations: 61.36 kB / 0.7758 GB, free: 10.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.4522, allocations: 55.41 kB / 0.7758 GB, free: 10.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004311/0.4526, allocations: 433.2 kB / 0.7763 GB, free: 10.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.4527, allocations: 25.7 kB / 0.7763 GB, free: 10.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.124e-05/0.4527, allocations: 136.5 kB / 0.7764 GB, free: 10.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.4528, allocations: 0 / 0.7764 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.142e-05/0.4528, allocations: 85.67 kB / 0.7765 GB, free: 10.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.453, allocations: 338.8 kB / 0.7768 GB, free: 9.676 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.4531, allocations: 104.5 kB / 0.7769 GB, free: 9.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.4532, allocations: 169.2 kB / 0.7771 GB, free: 9.387 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.4535, allocations: 301.6 kB / 0.7774 GB, free: 9.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4535, allocations: 0 / 0.7774 GB, free: 9.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004842/0.454, allocations: 336.8 kB / 0.7777 GB, free: 8.734 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.4541, allocations: 11.11 kB / 0.7777 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4541, allocations: 0 / 0.7777 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4541, allocations: 7.938 kB / 0.7777 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.263e-06/0.4541, allocations: 0 / 0.7777 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.4541, allocations: 4 kB / 0.7777 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.4543, allocations: 39.38 kB / 0.7777 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.4543, allocations: 11.94 kB / 0.7778 GB, free: 8.664 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.0002042/0.4545, allocations: 247.6 kB / 0.778 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.212e-05/0.4546, allocations: 124.7 kB / 0.7781 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.097e-05/0.4546, allocations: 118.9 kB / 0.7782 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.532e-05/0.4547, allocations: 180.2 kB / 0.7784 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.113e-05/0.4547, allocations: 101 kB / 0.7785 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.766e-05/0.4548, allocations: 209.6 kB / 0.7787 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.682e-05/0.4549, allocations: 180.3 kB / 0.7789 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.4551, allocations: 105 kB / 0.779 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/0.4551, allocations: 184.2 kB / 0.7791 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.671e-05/0.4552, allocations: 255.5 kB / 0.7794 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001604/0.4554, allocations: 406.7 kB / 0.7798 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.775e-05/0.4554, allocations: 108.9 kB / 0.7799 GB, free: 6.371 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002501/0.4557, allocations: 275.1 kB / 0.7801 GB, free: 6.102 MB / 0.545 GB Notification: Performance of Backend: time 3.01e-07/0.4557, allocations: 0 / 0.7801 GB, free: 6.102 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007691/0.4565, allocations: 384.7 kB / 0.7805 GB, free: 5.723 MB / 0.545 GB Notification: Performance of SimCode: time 0.0008055/0.4573, allocations: 1.179 MB / 0.7817 GB, free: 4.488 MB / 0.545 GB Notification: Performance of Templates: time 0.006372/0.4637, allocations: 3.086 MB / 0.7847 GB, free: 1.414 MB / 0.545 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)