Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.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_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001147/0.001147, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.322/1.322, 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.002095/0.002095, allocations: 285.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9598/0.9598, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 99.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4537/0.4555, allocations: 86.96 MB / 0.767 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00217/0.4577, allocations: 1.402 MB / 0.7684 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002182/0.4599, allocations: 1.933 MB / 0.7703 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.4599, allocations: 0 / 0.7703 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009288/0.4609, allocations: 389.9 kB / 0.7707 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.202e-05/0.4609, allocations: 15.92 kB / 0.7707 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.456e-06/0.4609, allocations: 0 / 0.7707 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.4611, allocations: 131.1 kB / 0.7708 GB, free: 16 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.736e-05/0.4612, allocations: 25.55 kB / 0.7708 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.373e-05/0.4613, allocations: 43.73 kB / 0.7709 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.4614, allocations: 59.72 kB / 0.7709 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.4614, allocations: 4 kB / 0.7709 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004149/0.4618, allocations: 191.9 kB / 0.7711 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.4619, allocations: 23.91 kB / 0.7711 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.026e-05/0.462, allocations: 75.55 kB / 0.7712 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.4624, allocations: 293.1 kB / 0.7715 GB, free: 15.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4624, allocations: 0 / 0.7715 GB, free: 15.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4624, allocations: 0 / 0.7715 GB, free: 15.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.4624, allocations: 0 / 0.7715 GB, free: 15.32 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.0006009/0.463, allocations: 490.6 kB / 0.772 GB, free: 14.79 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.4631, allocations: 12.03 kB / 0.772 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.4632, allocations: 96.02 kB / 0.7721 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.4634, allocations: 287.4 kB / 0.7723 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.4635, allocations: 154.9 kB / 0.7725 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.105e-05/0.4636, allocations: 154.9 kB / 0.7726 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.356e-05/0.4636, allocations: 109.1 kB / 0.7727 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.4636, allocations: 79.28 kB / 0.7728 GB, free: 13.87 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.4637, allocations: 150.6 kB / 0.7729 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.14e-05/0.4637, allocations: 150.6 kB / 0.7731 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.821e-05/0.4638, allocations: 154.5 kB / 0.7732 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.4641, allocations: 0.5094 MB / 0.7737 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.14e-05/0.4642, allocations: 173.1 kB / 0.7739 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/0.4642, allocations: 88.08 kB / 0.774 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.4642, allocations: 75.28 kB / 0.7741 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.4643, allocations: 109.8 kB / 0.7742 GB, free: 12.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.4643, allocations: 3.938 kB / 0.7742 GB, free: 12.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001575/0.4644, allocations: 49.52 kB / 0.7742 GB, free: 12.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.4645, allocations: 51.41 kB / 0.7743 GB, free: 12.28 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.4648, allocations: 322.2 kB / 0.7746 GB, free: 11.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.4648, allocations: 29.7 kB / 0.7746 GB, free: 11.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.4649, allocations: 124.3 kB / 0.7747 GB, free: 11.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.4649, allocations: 0 / 0.7747 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.19e-05/0.4649, allocations: 61.69 kB / 0.7748 GB, free: 11.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.863e-05/0.465, allocations: 326.8 kB / 0.7751 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.998e-05/0.4651, allocations: 71.95 kB / 0.7752 GB, free: 11.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.4652, allocations: 118.6 kB / 0.7753 GB, free: 11.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.4655, allocations: 205.8 kB / 0.7755 GB, free: 10.97 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4655, allocations: 4 kB / 0.7755 GB, free: 10.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003947/0.4659, allocations: 233.2 kB / 0.7757 GB, free: 10.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4659, allocations: 7.938 kB / 0.7757 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4659, allocations: 4 kB / 0.7757 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.4659, allocations: 0 / 0.7757 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.035e-06/0.4659, allocations: 4 kB / 0.7757 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.466, allocations: 0 / 0.7757 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.4661, allocations: 31.59 kB / 0.7757 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.4661, allocations: 7.984 kB / 0.7757 GB, free: 10.68 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.0001762/0.4663, allocations: 223.7 kB / 0.776 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/0.4664, allocations: 132.7 kB / 0.7761 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.4664, allocations: 113.8 kB / 0.7762 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-05/0.4665, allocations: 180.2 kB / 0.7764 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.434e-05/0.4665, allocations: 101 kB / 0.7765 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.079e-05/0.4666, allocations: 193.9 kB / 0.7766 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.616e-05/0.4667, allocations: 192.2 kB / 0.7768 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.4668, allocations: 101 kB / 0.7769 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/0.4669, allocations: 188.2 kB / 0.7771 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.264e-05/0.4669, allocations: 255.5 kB / 0.7773 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001578/0.4671, allocations: 402.7 kB / 0.7777 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.014e-05/0.4672, allocations: 101 kB / 0.7778 GB, free: 8.414 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002081/0.4674, allocations: 217.9 kB / 0.778 GB, free: 8.207 MB / 0.545 GB Notification: Performance of Backend: time 2.01e-07/0.4674, allocations: 0 / 0.778 GB, free: 8.207 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007476/0.4681, allocations: 287 kB / 0.7783 GB, free: 7.922 MB / 0.545 GB Notification: Performance of SimCode: time 0.0008259/0.469, allocations: 1.06 MB / 0.7793 GB, free: 6.812 MB / 0.545 GB Notification: Performance of Templates: time 0.005273/0.4743, allocations: 2.337 MB / 0.7816 GB, free: 4.496 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)