Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002661/0.002661, allocations: 278.9 kB / 303.6 MB, free: 3.699 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.174/1.174, allocations: 180.9 MB / 0.5268 GB, free: 2.703 MB / 382.1 MB " [Timeout remaining time 178] 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.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003127/0.003127, allocations: 95.84 kB / 0.7259 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5362/0.5393, allocations: 94.15 MB / 0.8178 GB, free: 7.434 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003507/0.5428, allocations: 2.326 MB / 0.8201 GB, free: 5.859 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.544, allocations: 0.7956 MB / 0.8209 GB, free: 5.312 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.501e-05/0.5441, allocations: 2.906 kB / 0.8209 GB, free: 5.312 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0005973/0.5447, allocations: 146.2 kB / 0.821 GB, free: 5.223 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.5449, allocations: 65.31 kB / 0.8211 GB, free: 5.184 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.545, allocations: 56 kB / 0.8211 GB, free: 5.152 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.5453, allocations: 166.1 kB / 0.8213 GB, free: 5.074 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.5455, allocations: 82.02 kB / 0.8214 GB, free: 5.035 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.5456, allocations: 62.05 kB / 0.8214 GB, free: 5.008 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.5457, allocations: 77.05 kB / 0.8215 GB, free: 4.969 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.5458, allocations: 11.91 kB / 0.8215 GB, free: 4.969 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.5459, allocations: 54.91 kB / 0.8216 GB, free: 4.953 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 5.896e-05/0.546, allocations: 40.8 kB / 0.8216 GB, free: 4.934 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 8.025e-05/0.546, allocations: 66.11 kB / 0.8217 GB, free: 4.891 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.5463, allocations: 166.5 kB / 0.8218 GB, free: 4.832 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5463, allocations: 1.156 kB / 0.8218 GB, free: 4.832 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5463, allocations: 0 / 0.8218 GB, free: 4.832 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.5463, allocations: 0 / 0.8218 GB, free: 4.832 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006712/0.547, allocations: 499.4 kB / 0.8223 GB, free: 4.352 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.547, allocations: 12.59 kB / 0.8223 GB, free: 4.348 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.5472, allocations: 30.42 kB / 0.8223 GB, free: 4.336 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.5474, allocations: 219 kB / 0.8226 GB, free: 4.109 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.895e-05/0.5475, allocations: 37.17 kB / 0.8226 GB, free: 4.074 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.5475, allocations: 15.16 kB / 0.8226 GB, free: 4.066 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/0.5478, allocations: 148.3 kB / 0.8227 GB, free: 3.98 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.5478, allocations: 0 / 0.8227 GB, free: 3.98 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.5478, allocations: 7.219 kB / 0.8228 GB, free: 3.977 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.5479, allocations: 3.438 kB / 0.8228 GB, free: 3.977 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.5481, allocations: 92.12 kB / 0.8228 GB, free: 3.945 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007471/0.5488, allocations: 0.6375 MB / 0.8235 GB, free: 3.387 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.5491, allocations: 62.19 kB / 0.8235 GB, free: 3.344 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.122e-05/0.5491, allocations: 29.25 kB / 0.8236 GB, free: 3.328 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.5491, allocations: 0 / 0.8236 GB, free: 3.328 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.5493, allocations: 144.1 kB / 0.8237 GB, free: 3.203 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.5493, allocations: 2.625 kB / 0.8237 GB, free: 3.203 MB / 0.5763 GB Notification: Performance of matching and sorting (n=7): time 0.0003623/0.5497, allocations: 169 kB / 0.8239 GB, free: 3.098 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.5497, allocations: 136.2 kB / 0.824 GB, free: 2.938 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.5499, allocations: 180.7 kB / 0.8242 GB, free: 2.812 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.5499, allocations: 29.3 kB / 0.8242 GB, free: 2.781 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.55, allocations: 141.1 kB / 0.8243 GB, free: 2.648 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.55, allocations: 22.61 kB / 0.8243 GB, free: 2.633 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/0.55, allocations: 34.61 kB / 0.8244 GB, free: 2.609 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.86e-05/0.5501, allocations: 326.3 kB / 0.8247 GB, free: 2.289 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.071e-05/0.5502, allocations: 41.61 kB / 0.8247 GB, free: 2.273 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.5503, allocations: 106.7 kB / 0.8248 GB, free: 2.172 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.5505, allocations: 232.9 kB / 0.825 GB, free: 1.945 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5505, allocations: 0 / 0.825 GB, free: 1.945 MB / 0.5763 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003119/0.5508, allocations: 242.9 kB / 0.8253 GB, free: 1.793 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/0.5509, allocations: 61.06 kB / 0.8253 GB, free: 1.73 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5509, allocations: 10.41 kB / 0.8253 GB, free: 1.723 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.5509, allocations: 5.25 kB / 0.8254 GB, free: 1.723 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.551, allocations: 35.67 kB / 0.8254 GB, free: 1.715 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.551, allocations: 3.141 kB / 0.8254 GB, free: 1.715 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.5512, allocations: 21.59 kB / 0.8254 GB, free: 1.707 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.5512, allocations: 9.344 kB / 0.8254 GB, free: 1.707 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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 prepare postOptimizeDAE: time 0.0001001/0.5513, allocations: 168.7 kB / 0.8256 GB, free: 1.543 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.5513, allocations: 20.03 kB / 0.8256 GB, free: 1.531 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.5513, allocations: 22 kB / 0.8256 GB, free: 1.516 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.5513, allocations: 0.7969 kB / 0.8256 GB, free: 1.516 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5513, allocations: 6.875 kB / 0.8256 GB, free: 1.512 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5513, allocations: 0 / 0.8256 GB, free: 1.512 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.5515, allocations: 213.7 kB / 0.8258 GB, free: 1.301 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5515, allocations: 0 / 0.8258 GB, free: 1.301 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.967e-05/0.5516, allocations: 9.672 kB / 0.8258 GB, free: 1.301 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.5516, allocations: 3.938 kB / 0.8258 GB, free: 1.297 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.5516, allocations: 7.203 kB / 0.8259 GB, free: 1.293 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.5516, allocations: 0.5156 kB / 0.8259 GB, free: 1.293 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5516, allocations: 6.719 kB / 0.8259 GB, free: 1.289 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.5519, allocations: 219.8 kB / 0.8261 GB, free: 1.141 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.552, allocations: 93.16 kB / 0.8262 GB, free: 1.035 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.552, allocations: 6.594 kB / 0.8262 GB, free: 1.031 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.28e-05/0.5521, allocations: 8.312 kB / 0.8262 GB, free: 1.031 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.5522, allocations: 10.97 kB / 0.8262 GB, free: 1.027 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.5522, allocations: 7.203 kB / 0.8262 GB, free: 1.023 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 9.052e-05/0.5523, allocations: 130.7 kB / 0.8263 GB, free: 0.9336 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.5523, allocations: 0 / 0.8263 GB, free: 0.9336 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002434/0.5525, allocations: 31.59 kB / 0.8263 GB, free: 0.9297 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 9.03e-05/0.5526, allocations: 99.69 kB / 0.8264 GB, free: 0.8438 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0002874/0.5529, allocations: 206.3 kB / 0.8266 GB, free: 0.6875 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5529, allocations: 4 kB / 0.8266 GB, free: 0.6836 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 9.761e-05/0.553, allocations: 93.12 kB / 0.8267 GB, free: 0.6055 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.5532, allocations: 21.77 kB / 0.8267 GB, free: 0.5977 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.5538, allocations: 325.3 kB / 0.8271 GB, free: 372 kB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.554, allocations: 0.7188 MB / 0.8278 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.5541, allocations: 16.62 kB / 0.8278 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.5541, allocations: 0 / 0.8278 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of Templates: time 0.003993/0.5581, allocations: 1.718 MB / 0.8295 GB, free: 15.48 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.109906357945874] Failed to read output from testmodel.py, exit status != 0: 0.5664707780815661 0.579640066 0.030365076 Calling exit ...