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.001142/0.001143, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001192/0.001192, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.469/1.469, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002429/0.002429, allocations: 295.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9478/0.9478, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 95.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4284, allocations: 86.98 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002305/0.4307, allocations: 1.39 MB / 0.7684 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002211/0.4329, allocations: 1.937 MB / 0.7703 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.639e-05/0.433, allocations: 3.938 kB / 0.7703 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009761/0.434, allocations: 381.9 kB / 0.7707 GB, free: 204 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.169e-05/0.434, allocations: 27.84 kB / 0.7707 GB, free: 176 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.897e-06/0.434, allocations: 0 / 0.7707 GB, free: 176 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000224/0.4343, allocations: 127.2 kB / 0.7708 GB, free: 48 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.57e-05/0.4343, allocations: 21.5 kB / 0.7708 GB, free: 24 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.883e-05/0.4344, allocations: 43.84 kB / 0.7709 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.4345, allocations: 63.66 kB / 0.7709 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.4345, allocations: 4 kB / 0.7709 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005367/0.4351, allocations: 183.9 kB / 0.7711 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.407e-05/0.4351, allocations: 27.91 kB / 0.7711 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.911e-05/0.4352, allocations: 75.53 kB / 0.7712 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004397/0.4357, allocations: 293.1 kB / 0.7715 GB, free: 15.35 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4357, allocations: 0 / 0.7715 GB, free: 15.35 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4357, allocations: 0 / 0.7715 GB, free: 15.35 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.4357, allocations: 0 / 0.7715 GB, free: 15.35 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.0006632/0.4364, allocations: 494.6 kB / 0.772 GB, free: 14.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4364, allocations: 12.02 kB / 0.772 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.4366, allocations: 96.03 kB / 0.7721 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.4368, allocations: 283.4 kB / 0.7723 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/0.4368, allocations: 158.9 kB / 0.7725 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.4369, allocations: 154.9 kB / 0.7726 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.603e-05/0.4369, allocations: 109.1 kB / 0.7727 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.437, allocations: 75.28 kB / 0.7728 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.437, allocations: 150.6 kB / 0.7729 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.584e-05/0.4371, allocations: 150.6 kB / 0.7731 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.193e-05/0.4371, allocations: 158.5 kB / 0.7732 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.4375, allocations: 0.5055 MB / 0.7737 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.83e-05/0.4375, allocations: 173.1 kB / 0.7739 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.812e-05/0.4376, allocations: 80.14 kB / 0.774 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.4376, allocations: 75.28 kB / 0.774 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.4376, allocations: 117.7 kB / 0.7742 GB, free: 12.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.4376, allocations: 0 / 0.7742 GB, free: 12.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001854/0.4378, allocations: 45.52 kB / 0.7742 GB, free: 12.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.4379, allocations: 51.41 kB / 0.7743 GB, free: 12.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.4382, allocations: 326.2 kB / 0.7746 GB, free: 12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.4382, allocations: 25.7 kB / 0.7746 GB, free: 11.97 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.4383, allocations: 120.3 kB / 0.7747 GB, free: 11.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.4383, allocations: 3.938 kB / 0.7747 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.044e-05/0.4383, allocations: 61.69 kB / 0.7748 GB, free: 11.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.4384, allocations: 330.8 kB / 0.7751 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.982e-05/0.4385, allocations: 71.89 kB / 0.7752 GB, free: 11.37 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.4387, allocations: 118.6 kB / 0.7753 GB, free: 11.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.4389, allocations: 209.8 kB / 0.7755 GB, free: 11.01 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4389, allocations: 4 kB / 0.7755 GB, free: 11 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003907/0.4393, allocations: 233.2 kB / 0.7757 GB, free: 10.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.4393, allocations: 7.938 kB / 0.7757 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4393, allocations: 4 kB / 0.7757 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.4393, allocations: 0 / 0.7757 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.565e-06/0.4393, allocations: 4 kB / 0.7757 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.4393, allocations: 0 / 0.7757 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.4395, allocations: 35.56 kB / 0.7757 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.4395, allocations: 4.219 kB / 0.7757 GB, free: 10.71 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.0001643/0.4397, allocations: 227.5 kB / 0.776 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.095e-05/0.4397, allocations: 128.7 kB / 0.7761 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.599e-05/0.4398, allocations: 109.9 kB / 0.7762 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-05/0.4398, allocations: 180.2 kB / 0.7764 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-05/0.4399, allocations: 101 kB / 0.7765 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.438e-05/0.44, allocations: 201.9 kB / 0.7766 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.007e-05/0.4401, allocations: 184.2 kB / 0.7768 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.4402, allocations: 105 kB / 0.7769 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.4403, allocations: 184.2 kB / 0.7771 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.028e-05/0.4403, allocations: 255.5 kB / 0.7773 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001528/0.4405, allocations: 402.7 kB / 0.7777 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.38e-05/0.4405, allocations: 105 kB / 0.7778 GB, free: 8.449 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001884/0.4407, allocations: 213.9 kB / 0.778 GB, free: 8.246 MB / 0.545 GB Notification: Performance of Backend: time 1.673e-06/0.4407, allocations: 0 / 0.778 GB, free: 8.246 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006153/0.4414, allocations: 292.5 kB / 0.7783 GB, free: 7.957 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006894/0.4421, allocations: 1.064 MB / 0.7793 GB, free: 6.844 MB / 0.545 GB Notification: Performance of Templates: time 0.004999/0.4471, allocations: 2.317 MB / 0.7816 GB, free: 4.547 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)