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.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.001353/0.001353, allocations: 80.38 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001504/0.001504, allocations: 164.8 kB / 22.46 MB, free: 5.371 MB / 14.72 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.408/1.408, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002481/0.002481, allocations: 249.9 kB / 259.4 MB, free: 456 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.093/1.093, allocations: 138.4 MB / 454.3 MB, free: 2.055 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(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 1.723e-06/1.723e-06, allocations: 0 / 0.6467 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.129e-05/3.301e-05, allocations: 2.281 kB / 0.6467 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004488/0.004521, allocations: 2.31 MB / 0.649 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.006204, allocations: 0.8102 MB / 0.6498 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.00635, allocations: 7.938 kB / 0.6498 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006871/0.007037, allocations: 147.3 kB / 0.6499 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.007312, allocations: 59.61 kB / 0.65 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.00756, allocations: 71.73 kB / 0.6501 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.007856, allocations: 171.3 kB / 0.6502 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002607/0.008116, allocations: 77.19 kB / 0.6503 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.008353, allocations: 95.78 kB / 0.6504 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.008534, allocations: 59.78 kB / 0.6504 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.008569, allocations: 12 kB / 0.6505 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.008702, allocations: 51.89 kB / 0.6505 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.109e-05/0.008783, allocations: 43.83 kB / 0.6505 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.973e-05/0.008863, allocations: 47.91 kB / 0.6506 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.009187, allocations: 179.4 kB / 0.6508 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.009191, allocations: 4 kB / 0.6508 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.022e-06/0.009192, allocations: 4 kB / 0.6508 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.009199, allocations: 0 / 0.6508 GB, free: 0.9492 MB / 0.5606 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.0008533/0.01005, allocations: 417.3 kB / 0.6512 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.01009, allocations: 9.344 kB / 0.6512 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003277/0.01042, allocations: 36.81 kB / 0.6512 GB, free: 468 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.01069, allocations: 162 kB / 0.6514 GB, free: 280 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.357e-05/0.01077, allocations: 60.16 kB / 0.6514 GB, free: 208 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.0108, allocations: 16.38 kB / 0.6514 GB, free: 192 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2676/0.2784, allocations: 177.8 kB / 0.6516 GB, free: 57.31 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.2784, allocations: 0 / 0.6516 GB, free: 57.31 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.159e-05/0.2785, allocations: 5.484 kB / 0.6516 GB, free: 57.31 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.67e-05/0.2785, allocations: 5.406 kB / 0.6516 GB, free: 57.31 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.2788, allocations: 116 kB / 0.6517 GB, free: 57.28 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008316/0.2796, allocations: 0.5546 MB / 0.6523 GB, free: 56.88 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.2799, allocations: 84.19 kB / 0.6524 GB, free: 56.83 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.065e-05/0.28, allocations: 54.41 kB / 0.6524 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.28, allocations: 3.469 kB / 0.6524 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.2802, allocations: 175.8 kB / 0.6526 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.2802, allocations: 0 / 0.6526 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0003833/0.2806, allocations: 224.4 kB / 0.6528 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.2806, allocations: 141.9 kB / 0.6529 GB, free: 56.36 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.2807, allocations: 185.4 kB / 0.6531 GB, free: 56.26 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.2808, allocations: 30.17 kB / 0.6531 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.2808, allocations: 138.7 kB / 0.6533 GB, free: 56.12 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.2808, allocations: 29.45 kB / 0.6533 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.715e-05/0.2809, allocations: 35.38 kB / 0.6533 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.98e-05/0.2809, allocations: 323.7 kB / 0.6536 GB, free: 55.78 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.907e-05/0.281, allocations: 98.88 kB / 0.6537 GB, free: 55.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.2812, allocations: 173.1 kB / 0.6539 GB, free: 55.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.2813, allocations: 238 kB / 0.6541 GB, free: 55.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.2813, allocations: 0 / 0.6541 GB, free: 55.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000303/0.2816, allocations: 298.5 kB / 0.6544 GB, free: 55.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.2817, allocations: 65.34 kB / 0.6545 GB, free: 55.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2817, allocations: 0.875 kB / 0.6545 GB, free: 55.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.2817, allocations: 3.688 kB / 0.6545 GB, free: 55.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.2818, allocations: 41.14 kB / 0.6545 GB, free: 55.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2818, allocations: 3.625 kB / 0.6545 GB, free: 55.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.282, allocations: 28.42 kB / 0.6545 GB, free: 55.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.282, allocations: 7.156 kB / 0.6545 GB, free: 55.13 MB / 0.5606 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 9.201e-05/0.2821, allocations: 170.4 kB / 0.6547 GB, free: 54.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.2821, allocations: 12.27 kB / 0.6547 GB, free: 54.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.2821, allocations: 16.44 kB / 0.6547 GB, free: 54.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.2821, allocations: 7.156 kB / 0.6547 GB, free: 54.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2821, allocations: 7.031 kB / 0.6548 GB, free: 54.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2821, allocations: 3.5 kB / 0.6548 GB, free: 54.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.794e-05/0.2822, allocations: 141.7 kB / 0.6549 GB, free: 54.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2822, allocations: 0.7188 kB / 0.6549 GB, free: 54.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.457e-05/0.2823, allocations: 7.438 kB / 0.6549 GB, free: 54.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2823, allocations: 1.25 kB / 0.6549 GB, free: 54.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.2823, allocations: 11.66 kB / 0.6549 GB, free: 54.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2823, allocations: 0 / 0.6549 GB, free: 54.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2823, allocations: 0.6562 kB / 0.6549 GB, free: 54.85 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.2827, allocations: 281.3 kB / 0.6552 GB, free: 54.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.939e-05/0.2827, allocations: 14.09 kB / 0.6552 GB, free: 54.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.2827, allocations: 13.55 kB / 0.6552 GB, free: 54.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.924e-05/0.2828, allocations: 8.375 kB / 0.6552 GB, free: 54.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.2829, allocations: 10.95 kB / 0.6552 GB, free: 54.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.2829, allocations: 14.09 kB / 0.6552 GB, free: 54.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.993e-05/0.283, allocations: 131.2 kB / 0.6554 GB, free: 54.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.283, allocations: 3.188 kB / 0.6554 GB, free: 54.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002414/0.2832, allocations: 29.44 kB / 0.6554 GB, free: 54.52 MB / 0.5606 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 8.609e-05/0.2833, allocations: 99.91 kB / 0.6555 GB, free: 54.44 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002818/0.2836, allocations: 300 kB / 0.6558 GB, free: 54.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2836, allocations: 0 / 0.6558 GB, free: 54.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.2837, allocations: 120.2 kB / 0.6559 GB, free: 54.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.2839, allocations: 22.91 kB / 0.6559 GB, free: 54.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/0.2844, allocations: 318.5 kB / 0.6562 GB, free: 53.85 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.866e-05/0.2845, allocations: 102.7 kB / 0.6563 GB, free: 53.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.323e-05/0.2846, allocations: 26.72 kB / 0.6563 GB, free: 53.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.2846, allocations: 11.78 kB / 0.6564 GB, free: 53.76 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2846, allocations: 0 / 0.6564 GB, free: 53.76 MB / 0.5606 GB Notification: Performance of Templates: time 0.004428/0.289, allocations: 1.48 MB / 0.6578 GB, free: 53.66 MB / 0.5606 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.834241911768913] Failed to read output from testmodel.py, exit status != 0: 0.29760314524173737 0.30730278 0.29567946900000003 Calling exit ...