Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0007616/0.0007616, allocations: 96.36 kB / 19.7 MB, free: 456 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.0008157/0.0008157, allocations: 211.5 kB / 23 MB, free: 2.969 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 0.8951/0.8951, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7688/0.7688, allocations: 203.5 MB / 0.5046 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009255/0.0009255, allocations: 70.77 kB / 0.719 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.475/0.4759, allocations: 102 MB / 0.8186 GB, free: 1.523 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.0026/0.4785, allocations: 2.307 MB / 0.8208 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.4796, allocations: 0.8113 MB / 0.8216 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.646e-05/0.4797, allocations: 10.97 kB / 0.8216 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005363/0.4802, allocations: 144.7 kB / 0.8218 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.4803, allocations: 61.64 kB / 0.8218 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.4805, allocations: 63.55 kB / 0.8219 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.4807, allocations: 161.8 kB / 0.822 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.4809, allocations: 90.34 kB / 0.8221 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.4811, allocations: 74.22 kB / 0.8222 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.4812, allocations: 67.38 kB / 0.8223 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.4812, allocations: 11.84 kB / 0.8223 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.235e-05/0.4813, allocations: 48.92 kB / 0.8223 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.24e-05/0.4813, allocations: 42.69 kB / 0.8224 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.4814, allocations: 57.56 kB / 0.8224 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.4816, allocations: 184.8 kB / 0.8226 GB, free: 15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4816, allocations: 0.8125 kB / 0.8226 GB, free: 15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4816, allocations: 0 / 0.8226 GB, free: 15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.4816, allocations: 2.094 kB / 0.8226 GB, free: 15 MB / 0.6198 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.0005811/0.4822, allocations: 441.3 kB / 0.823 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.4823, allocations: 13.28 kB / 0.823 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.4825, allocations: 34.14 kB / 0.8231 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.4827, allocations: 159.5 kB / 0.8232 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.157e-05/0.4827, allocations: 65.16 kB / 0.8233 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.4827, allocations: 12.56 kB / 0.8233 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.483, allocations: 170.1 kB / 0.8234 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.483, allocations: 0 / 0.8234 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.483, allocations: 5.438 kB / 0.8234 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.483, allocations: 15.75 kB / 0.8235 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.4832, allocations: 120.9 kB / 0.8236 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/0.4837, allocations: 0.5504 MB / 0.8241 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.4839, allocations: 85.7 kB / 0.8242 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.484, allocations: 53.67 kB / 0.8243 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.484, allocations: 1.5 kB / 0.8243 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003119/0.4843, allocations: 179.1 kB / 0.8244 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.4843, allocations: 0 / 0.8244 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002896/0.4846, allocations: 225.1 kB / 0.8246 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.4846, allocations: 141 kB / 0.8248 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.4848, allocations: 188.6 kB / 0.825 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.4848, allocations: 27.2 kB / 0.825 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.58e-05/0.4849, allocations: 143.1 kB / 0.8251 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.4849, allocations: 21.72 kB / 0.8251 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.4849, allocations: 34.98 kB / 0.8252 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.042e-05/0.485, allocations: 331.2 kB / 0.8255 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.61e-05/0.4851, allocations: 92.11 kB / 0.8256 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.4852, allocations: 166.5 kB / 0.8257 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.4853, allocations: 236.8 kB / 0.826 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4853, allocations: 1.438 kB / 0.826 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002515/0.4856, allocations: 307.4 kB / 0.8263 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.4856, allocations: 68.78 kB / 0.8263 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4856, allocations: 7.562 kB / 0.8263 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.4857, allocations: 3.594 kB / 0.8263 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.854e-05/0.4857, allocations: 26.62 kB / 0.8264 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.4857, allocations: 8.812 kB / 0.8264 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.637e-05/0.4858, allocations: 25.75 kB / 0.8264 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.4858, allocations: 7.656 kB / 0.8264 GB, free: 11.64 MB / 0.6198 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.923e-05/0.4859, allocations: 163.5 kB / 0.8265 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.4859, allocations: 20.28 kB / 0.8266 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.486, allocations: 19.3 kB / 0.8266 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.486, allocations: 1.438 kB / 0.8266 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.486, allocations: 3.938 kB / 0.8266 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.486, allocations: 0.75 kB / 0.8266 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.4861, allocations: 143.6 kB / 0.8267 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4861, allocations: 0 / 0.8267 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.4861, allocations: 11.47 kB / 0.8267 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4861, allocations: 0 / 0.8267 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.4861, allocations: 11.38 kB / 0.8268 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4861, allocations: 0.6094 kB / 0.8268 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.4861, allocations: 1.25 kB / 0.8268 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.4864, allocations: 277.9 kB / 0.827 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.628e-05/0.4864, allocations: 11.95 kB / 0.827 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.4865, allocations: 10.56 kB / 0.827 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.762e-05/0.4865, allocations: 19 kB / 0.8271 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.4866, allocations: 11.2 kB / 0.8271 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.4866, allocations: 1.25 kB / 0.8271 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.805e-05/0.4866, allocations: 143.5 kB / 0.8272 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4866, allocations: 0 / 0.8272 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000162/0.4868, allocations: 27.59 kB / 0.8272 GB, free: 10.96 MB / 0.6198 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.449e-05/0.4869, allocations: 104.2 kB / 0.8273 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000252/0.4871, allocations: 298.3 kB / 0.8276 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4871, allocations: 0 / 0.8276 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.774e-05/0.4872, allocations: 118.9 kB / 0.8277 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.4874, allocations: 26.41 kB / 0.8278 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004969/0.4879, allocations: 357.3 kB / 0.8281 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.541e-05/0.488, allocations: 106.5 kB / 0.8282 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.488, allocations: 16.52 kB / 0.8282 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.488, allocations: 0 / 0.8282 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of Templates: time 0.00294/0.4909, allocations: 1.774 MB / 0.8299 GB, free: 9.969 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0429737670347095] Failed to read output from testmodel.py, exit status != 0: 0.4964135689660907 0.5053105290000001 0.021860647 Calling exit ...