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.001396/0.001396, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001706/0.001706, allocations: 213.5 kB / 22.24 MB, free: 5.262 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 1.331/1.331, allocations: 203.5 MB / 0.5039 GB, free: 4.875 MB / 414.1 MB " [Timeout remaining time 178] 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.003261/0.003261, allocations: 64.19 kB / 0.7182 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6713/0.6745, allocations: 102 MB / 0.8178 GB, free: 29.1 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004216/0.6787, allocations: 2.315 MB / 0.8201 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.6803, allocations: 0.8219 MB / 0.8209 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.6804, allocations: 2.688 kB / 0.8209 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006795/0.6811, allocations: 139.7 kB / 0.821 GB, free: 26.99 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.6813, allocations: 69.53 kB / 0.8211 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.6815, allocations: 59.73 kB / 0.8211 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002877/0.6818, allocations: 173.6 kB / 0.8213 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002663/0.6821, allocations: 76.72 kB / 0.8214 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.6823, allocations: 71.97 kB / 0.8214 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.6825, allocations: 70.06 kB / 0.8215 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.237e-05/0.6826, allocations: 18.08 kB / 0.8215 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.6827, allocations: 53.42 kB / 0.8216 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 7.404e-05/0.6828, allocations: 39.23 kB / 0.8216 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.6829, allocations: 52.97 kB / 0.8217 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.6832, allocations: 181.8 kB / 0.8218 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6832, allocations: 1.812 kB / 0.8218 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6832, allocations: 0 / 0.8218 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.6832, allocations: 5.312 kB / 0.8218 GB, free: 26.6 MB / 0.6387 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.0007286/0.6839, allocations: 433.4 kB / 0.8223 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.684, allocations: 9.875 kB / 0.8223 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003224/0.6843, allocations: 36.36 kB / 0.8223 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.6845, allocations: 160.2 kB / 0.8225 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.189e-05/0.6846, allocations: 63.48 kB / 0.8225 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.6846, allocations: 11.41 kB / 0.8225 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.6849, allocations: 179.6 kB / 0.8227 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.685, allocations: 1.375 kB / 0.8227 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.685, allocations: 1.828 kB / 0.8227 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.685, allocations: 5.469 kB / 0.8227 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.6852, allocations: 122 kB / 0.8228 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007456/0.686, allocations: 0.5514 MB / 0.8234 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.6862, allocations: 84.52 kB / 0.8234 GB, free: 25.24 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.794e-05/0.6863, allocations: 54 kB / 0.8235 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.6863, allocations: 1.891 kB / 0.8235 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.6865, allocations: 184.5 kB / 0.8237 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.6865, allocations: 0.9688 kB / 0.8237 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0004078/0.687, allocations: 216.3 kB / 0.8239 GB, free: 24.87 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.687, allocations: 138.6 kB / 0.824 GB, free: 24.71 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.6872, allocations: 190 kB / 0.8242 GB, free: 24.58 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.6872, allocations: 27.72 kB / 0.8242 GB, free: 24.55 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.6872, allocations: 143.3 kB / 0.8244 GB, free: 24.42 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.6873, allocations: 25.61 kB / 0.8244 GB, free: 24.4 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.466e-05/0.6873, allocations: 39.3 kB / 0.8244 GB, free: 24.37 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.844e-05/0.6874, allocations: 325.6 kB / 0.8247 GB, free: 24.05 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.6875, allocations: 92.06 kB / 0.8248 GB, free: 23.98 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.6877, allocations: 169.6 kB / 0.825 GB, free: 23.81 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.6879, allocations: 232.2 kB / 0.8252 GB, free: 23.59 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6879, allocations: 0 / 0.8252 GB, free: 23.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003776/0.6883, allocations: 308.9 kB / 0.8255 GB, free: 23.37 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.6883, allocations: 64.33 kB / 0.8256 GB, free: 23.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6883, allocations: 2.688 kB / 0.8256 GB, free: 23.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.6883, allocations: 4.203 kB / 0.8256 GB, free: 23.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.6885, allocations: 39.19 kB / 0.8256 GB, free: 23.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.6885, allocations: 4.203 kB / 0.8256 GB, free: 23.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.6886, allocations: 25.98 kB / 0.8256 GB, free: 23.28 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.6886, allocations: 12.36 kB / 0.8256 GB, free: 23.27 MB / 0.6387 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.0001141/0.6888, allocations: 172.5 kB / 0.8258 GB, free: 23.11 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.6888, allocations: 19.75 kB / 0.8258 GB, free: 23.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.437e-05/0.6888, allocations: 15.56 kB / 0.8258 GB, free: 23.08 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.6888, allocations: 0.6562 kB / 0.8258 GB, free: 23.08 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6888, allocations: 0 / 0.8258 GB, free: 23.08 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.6888, allocations: 1.688 kB / 0.8258 GB, free: 23.08 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.689, allocations: 144.3 kB / 0.826 GB, free: 22.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.689, allocations: 4 kB / 0.826 GB, free: 22.94 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.759e-05/0.689, allocations: 13.75 kB / 0.826 GB, free: 22.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.689, allocations: 0.9688 kB / 0.826 GB, free: 22.93 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.6891, allocations: 7.406 kB / 0.826 GB, free: 22.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6891, allocations: 0 / 0.826 GB, free: 22.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6891, allocations: 0 / 0.826 GB, free: 22.93 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/0.6895, allocations: 282.3 kB / 0.8263 GB, free: 22.71 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.361e-05/0.6895, allocations: 16.22 kB / 0.8263 GB, free: 22.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.6895, allocations: 8.125 kB / 0.8263 GB, free: 22.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.6896, allocations: 9.938 kB / 0.8263 GB, free: 22.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.6897, allocations: 14.41 kB / 0.8263 GB, free: 22.69 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.6897, allocations: 2.547 kB / 0.8263 GB, free: 22.69 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001041/0.6898, allocations: 138.2 kB / 0.8265 GB, free: 22.59 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.6898, allocations: 0 / 0.8265 GB, free: 22.59 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000266/0.6901, allocations: 27.03 kB / 0.8265 GB, free: 22.59 MB / 0.6387 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.876e-05/0.6902, allocations: 105.6 kB / 0.8266 GB, free: 22.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003618/0.6905, allocations: 301.7 kB / 0.8269 GB, free: 22.24 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.6905, allocations: 5.531 kB / 0.8269 GB, free: 22.23 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.6907, allocations: 122.6 kB / 0.827 GB, free: 22.12 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.6909, allocations: 21.09 kB / 0.827 GB, free: 22.12 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006045/0.6915, allocations: 318.5 kB / 0.8273 GB, free: 21.89 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.243e-05/0.6916, allocations: 106.1 kB / 0.8274 GB, free: 21.81 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 7.651e-05/0.6917, allocations: 17.67 kB / 0.8274 GB, free: 21.81 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.6917, allocations: 13.72 kB / 0.8274 GB, free: 21.8 MB / 0.6387 GB Notification: Performance of SimCode: time 3e-07/0.6917, allocations: 0 / 0.8274 GB, free: 21.8 MB / 0.6387 GB Notification: Performance of Templates: time 0.005361/0.6971, allocations: 1.58 MB / 0.829 GB, free: 21.61 MB / 0.6387 GB " [Timeout remaining time 659] 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.999075297266245] Failed to read output from testmodel.py, exit status != 0: 0.707377664744854 0.718696368 0.032624572000000004 Calling exit ...