Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002696/0.002696, allocations: 100.3 kB / 19.72 MB, free: 424 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003082/0.003082, allocations: 220.3 kB / 23.02 MB, free: 2.965 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.728/1.728, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.477/3.477, allocations: 0.5045 GB / 0.8104 GB, free: 2.773 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.005554/0.005554, allocations: 67.89 kB / 1.177 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.057, allocations: 180 MB / 1.353 GB, free: 1.598 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004657/1.062, allocations: 2.317 MB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001884/1.064, allocations: 0.8221 MB / 1.356 GB, free: 14.44 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/1.064, allocations: 4 kB / 1.356 GB, free: 14.44 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006806/1.064, allocations: 143.4 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002108/1.065, allocations: 67.59 kB / 1.356 GB, free: 14.23 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/1.065, allocations: 79.73 kB / 1.356 GB, free: 14.15 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002751/1.065, allocations: 155.5 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002722/1.065, allocations: 83.62 kB / 1.356 GB, free: 13.92 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/1.066, allocations: 75.7 kB / 1.357 GB, free: 13.85 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/1.066, allocations: 67.67 kB / 1.357 GB, free: 13.78 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/1.066, allocations: 12 kB / 1.357 GB, free: 13.77 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/1.066, allocations: 47.89 kB / 1.357 GB, free: 13.72 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 7.156e-05/1.066, allocations: 39.84 kB / 1.357 GB, free: 13.68 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 9.072e-05/1.066, allocations: 51.8 kB / 1.357 GB, free: 13.63 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003533/1.066, allocations: 187.3 kB / 1.357 GB, free: 13.45 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.066, allocations: 4 kB / 1.357 GB, free: 13.45 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.503e-06/1.066, allocations: 0 / 1.357 GB, free: 13.45 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.851e-06/1.066, allocations: 0 / 1.357 GB, free: 13.45 MB / 1.042 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.000827/1.067, allocations: 429.2 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/1.067, allocations: 8.922 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002881/1.068, allocations: 32.83 kB / 1.357 GB, free: 12.95 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/1.068, allocations: 162.8 kB / 1.358 GB, free: 12.76 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.573e-05/1.068, allocations: 63.72 kB / 1.358 GB, free: 12.69 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/1.068, allocations: 23.94 kB / 1.358 GB, free: 12.66 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/1.068, allocations: 176.3 kB / 1.358 GB, free: 12.47 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/1.068, allocations: 0 / 1.358 GB, free: 12.47 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/1.068, allocations: 4 kB / 1.358 GB, free: 12.47 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/1.068, allocations: 4 kB / 1.358 GB, free: 12.46 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/1.069, allocations: 121.6 kB / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009476/1.07, allocations: 0.5502 MB / 1.358 GB, free: 11.74 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/1.07, allocations: 88.25 kB / 1.358 GB, free: 11.64 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/1.07, allocations: 54.61 kB / 1.359 GB, free: 11.58 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/1.07, allocations: 4 kB / 1.359 GB, free: 11.57 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002818/1.07, allocations: 172.6 kB / 1.359 GB, free: 11.38 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/1.07, allocations: 0 / 1.359 GB, free: 11.38 MB / 1.042 GB Notification: Performance of matching and sorting (n=7): time 0.0004858/1.071, allocations: 226.5 kB / 1.359 GB, free: 11.13 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.071, allocations: 136.5 kB / 1.359 GB, free: 10.96 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/1.071, allocations: 198.6 kB / 1.359 GB, free: 10.76 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/1.071, allocations: 29.7 kB / 1.359 GB, free: 10.73 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/1.071, allocations: 139.8 kB / 1.359 GB, free: 10.59 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/1.071, allocations: 23.84 kB / 1.359 GB, free: 10.56 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.242e-05/1.071, allocations: 41.66 kB / 1.359 GB, free: 10.52 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001925/1.072, allocations: 326.8 kB / 1.36 GB, free: 10.19 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/1.072, allocations: 87.39 kB / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/1.072, allocations: 178.4 kB / 1.36 GB, free: 9.871 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/1.072, allocations: 238.4 kB / 1.36 GB, free: 9.586 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/1.072, allocations: 4 kB / 1.36 GB, free: 9.582 MB / 1.042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004506/1.073, allocations: 296.2 kB / 1.361 GB, free: 9.262 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 7.31e-05/1.073, allocations: 71.33 kB / 1.361 GB, free: 9.18 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.073, allocations: 4 kB / 1.361 GB, free: 9.176 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/1.073, allocations: 4 kB / 1.361 GB, free: 9.172 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/1.073, allocations: 27.92 kB / 1.361 GB, free: 9.145 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/1.073, allocations: 4 kB / 1.361 GB, free: 9.141 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/1.073, allocations: 32.14 kB / 1.361 GB, free: 9.109 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/1.073, allocations: 12 kB / 1.361 GB, free: 9.098 MB / 1.042 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.0001701/1.073, allocations: 163.5 kB / 1.361 GB, free: 8.922 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/1.073, allocations: 15.89 kB / 1.361 GB, free: 8.906 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/1.073, allocations: 13.41 kB / 1.361 GB, free: 8.887 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.073, allocations: 0 / 1.361 GB, free: 8.887 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.073, allocations: 3.984 kB / 1.361 GB, free: 8.883 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-06/1.073, allocations: 0 / 1.361 GB, free: 8.883 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/1.074, allocations: 149.2 kB / 1.361 GB, free: 8.707 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/1.074, allocations: 7.984 kB / 1.361 GB, free: 8.699 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.142e-05/1.074, allocations: 8 kB / 1.361 GB, free: 8.691 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/1.074, allocations: 4 kB / 1.361 GB, free: 8.688 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/1.074, allocations: 11.92 kB / 1.361 GB, free: 8.676 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.074, allocations: 0 / 1.361 GB, free: 8.676 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/1.074, allocations: 4 kB / 1.361 GB, free: 8.672 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004923/1.074, allocations: 278.1 kB / 1.361 GB, free: 8.363 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/1.074, allocations: 19.92 kB / 1.361 GB, free: 8.344 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/1.074, allocations: 3.938 kB / 1.361 GB, free: 8.34 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.04e-05/1.074, allocations: 8 kB / 1.361 GB, free: 8.332 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.049e-05/1.074, allocations: 16.05 kB / 1.361 GB, free: 8.316 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/1.074, allocations: 4 kB / 1.361 GB, free: 8.312 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001369/1.075, allocations: 136.2 kB / 1.362 GB, free: 8.18 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/1.075, allocations: 0 / 1.362 GB, free: 8.18 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002421/1.075, allocations: 28 kB / 1.362 GB, free: 8.152 MB / 1.042 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.0001415/1.075, allocations: 103.2 kB / 1.362 GB, free: 8.043 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0004391/1.075, allocations: 296.3 kB / 1.362 GB, free: 7.711 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.075, allocations: 64 / 1.362 GB, free: 7.711 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/1.076, allocations: 129.1 kB / 1.362 GB, free: 7.566 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/1.076, allocations: 12 kB / 1.362 GB, free: 7.555 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008403/1.077, allocations: 328.3 kB / 1.362 GB, free: 7.203 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/1.077, allocations: 102.3 kB / 1.362 GB, free: 7.082 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 7.631e-05/1.077, allocations: 12.64 kB / 1.362 GB, free: 7.07 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/1.077, allocations: 19.44 kB / 1.362 GB, free: 7.051 MB / 1.042 GB Notification: Performance of SimCode: time 5.71e-07/1.077, allocations: 0 / 1.362 GB, free: 7.051 MB / 1.042 GB Notification: Performance of Templates: time 0.00536/1.082, allocations: 1.576 MB / 1.364 GB, free: 5.52 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.663342634215951]