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.001548/0.001548, allocations: 109.8 kB / 19.58 MB, free: 2.336 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.001595/0.001595, allocations: 186.9 kB / 22.85 MB, free: 5.641 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.405/1.405, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.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.002465/0.002465, allocations: 283 kB / 307 MB, free: 8.34 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.201/1.201, allocations: 180.8 MB / 0.5304 GB, free: 14.47 MB / 382.1 MB " [Timeout remaining time 179] 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.002908/0.002908, allocations: 101 kB / 0.731 GB, free: 38.73 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1996, allocations: 94.2 MB / 0.823 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003972/0.2036, allocations: 2.371 MB / 0.8253 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.2049, allocations: 0.8064 MB / 0.8261 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.331e-05/0.205, allocations: 4 kB / 0.8261 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006313/0.2057, allocations: 151.3 kB / 0.8263 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.2058, allocations: 63.61 kB / 0.8263 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.206, allocations: 51.88 kB / 0.8264 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.2063, allocations: 159.5 kB / 0.8265 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.2065, allocations: 69.25 kB / 0.8266 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.2066, allocations: 75.77 kB / 0.8267 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.2067, allocations: 75.61 kB / 0.8268 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.2068, allocations: 12 kB / 0.8268 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.2069, allocations: 47.89 kB / 0.8268 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.269e-05/0.2069, allocations: 39.89 kB / 0.8269 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.297e-05/0.207, allocations: 63.67 kB / 0.8269 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.2073, allocations: 167.3 kB / 0.8271 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2073, allocations: 4 kB / 0.8271 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.276e-06/0.2073, allocations: 3.984 kB / 0.8271 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.2073, allocations: 0 / 0.8271 GB, free: 13.78 MB / 0.5762 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.0007154/0.208, allocations: 423.1 kB / 0.8275 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.208, allocations: 8.031 kB / 0.8275 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/0.2083, allocations: 36.77 kB / 0.8275 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.2085, allocations: 150.3 kB / 0.8277 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.728e-05/0.2085, allocations: 38.45 kB / 0.8277 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.2086, allocations: 20.06 kB / 0.8277 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.2089, allocations: 152.1 kB / 0.8279 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.2089, allocations: 0 / 0.8279 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.2089, allocations: 4 kB / 0.8279 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.2089, allocations: 4 kB / 0.8279 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.2091, allocations: 94.5 kB / 0.828 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008606/0.21, allocations: 0.6043 MB / 0.8286 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.2102, allocations: 50.56 kB / 0.8286 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.335e-05/0.2103, allocations: 24.91 kB / 0.8286 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.2103, allocations: 0 / 0.8286 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002081/0.2105, allocations: 150.7 kB / 0.8288 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.2105, allocations: 3.938 kB / 0.8288 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003767/0.2109, allocations: 167.4 kB / 0.8289 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/0.211, allocations: 132.5 kB / 0.8291 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.2111, allocations: 186.7 kB / 0.8292 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.2112, allocations: 25.7 kB / 0.8293 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.2113, allocations: 144 kB / 0.8294 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.2113, allocations: 23.8 kB / 0.8294 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-05/0.2114, allocations: 41.7 kB / 0.8295 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.2115, allocations: 322.8 kB / 0.8298 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.629e-05/0.2116, allocations: 39.97 kB / 0.8298 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.2117, allocations: 113.4 kB / 0.8299 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.212, allocations: 222.4 kB / 0.8301 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.212, allocations: 0 / 0.8301 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003729/0.2124, allocations: 248.7 kB / 0.8304 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.866e-05/0.2124, allocations: 69.89 kB / 0.8304 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2124, allocations: 7.938 kB / 0.8304 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.2125, allocations: 4 kB / 0.8304 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.2126, allocations: 31.92 kB / 0.8305 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2126, allocations: 0 / 0.8305 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.2127, allocations: 32.19 kB / 0.8305 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.2127, allocations: 8 kB / 0.8305 GB, free: 9.887 MB / 0.5762 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.0001458/0.2129, allocations: 164.7 kB / 0.8307 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.2129, allocations: 19.84 kB / 0.8307 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.2129, allocations: 17.34 kB / 0.8307 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2129, allocations: 0 / 0.8307 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2129, allocations: 0 / 0.8307 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2129, allocations: 3.938 kB / 0.8307 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.2131, allocations: 192.6 kB / 0.8309 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2131, allocations: 4 kB / 0.8309 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.956e-05/0.2132, allocations: 15.98 kB / 0.8309 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2132, allocations: 4 kB / 0.8309 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.2132, allocations: 3.938 kB / 0.8309 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2132, allocations: 0 / 0.8309 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2132, allocations: 0 / 0.8309 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.2136, allocations: 219 kB / 0.8311 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/0.2137, allocations: 11.97 kB / 0.8311 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.2137, allocations: 11.94 kB / 0.8312 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.2138, allocations: 11.98 kB / 0.8312 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.2139, allocations: 7.984 kB / 0.8312 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.2139, allocations: 4 kB / 0.8312 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001173/0.214, allocations: 132.3 kB / 0.8313 GB, free: 9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.214, allocations: 4 kB / 0.8313 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000235/0.2142, allocations: 24 kB / 0.8313 GB, free: 8.973 MB / 0.5762 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 0.0001203/0.2143, allocations: 111.2 kB / 0.8314 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003253/0.2147, allocations: 206.6 kB / 0.8316 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2147, allocations: 0 / 0.8316 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.2148, allocations: 95.31 kB / 0.8317 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.215, allocations: 18.34 kB / 0.8317 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005911/0.2156, allocations: 298.7 kB / 0.832 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.2159, allocations: 0.7119 MB / 0.8327 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.998e-05/0.216, allocations: 20.62 kB / 0.8327 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.2161, allocations: 19.44 kB / 0.8328 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/0.2161, allocations: 0 / 0.8328 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.00472/0.2208, allocations: 1.514 MB / 0.8342 GB, free: 5.91 MB / 0.5762 GB " [Timeout remaining time 660] 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.051571294199675] Failed to read output from testmodel.py, exit status != 0: 0.22839336330071092 0.24237597300000002 0.032137516000000005 Calling exit ...