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.001011/0.001011, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0009859/0.0009859, allocations: 170 kB / 23.27 MB, free: 1.223 MB / 18.57 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.9068/0.9068, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.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-545:108: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-545:116: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.7734/0.7734, allocations: 154.6 MB / 414.8 MB, free: 0.5352 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 1.312 kB / 0.5207 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.309e-05, allocations: 2.312 kB / 0.5207 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002257/0.00227, allocations: 2.096 MB / 0.5228 GB, free: 14.76 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008331/0.003103, allocations: 0.6925 MB / 0.5234 GB, free: 14.06 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.683e-05/0.00319, allocations: 0 / 0.5234 GB, free: 14.06 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003947/0.003585, allocations: 101.2 kB / 0.5235 GB, free: 13.96 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.003726, allocations: 71.53 kB / 0.5236 GB, free: 13.89 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.003854, allocations: 65.52 kB / 0.5237 GB, free: 13.83 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.004034, allocations: 167.4 kB / 0.5238 GB, free: 13.67 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.004203, allocations: 81.11 kB / 0.5239 GB, free: 13.59 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.004353, allocations: 99.72 kB / 0.524 GB, free: 13.49 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.004485, allocations: 57.23 kB / 0.5241 GB, free: 13.44 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.004506, allocations: 12 kB / 0.5241 GB, free: 13.43 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-05/0.00459, allocations: 55.83 kB / 0.5241 GB, free: 13.37 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.004641, allocations: 43.83 kB / 0.5242 GB, free: 13.33 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.004688, allocations: 44.44 kB / 0.5242 GB, free: 13.29 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.004874, allocations: 136.2 kB / 0.5243 GB, free: 13.15 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004876, allocations: 0 / 0.5243 GB, free: 13.15 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.004876, allocations: 1.469 kB / 0.5243 GB, free: 13.15 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.00488, allocations: 0 / 0.5243 GB, free: 13.15 MB / 458.7 MB 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.0004614/0.005341, allocations: 0.5113 MB / 0.5248 GB, free: 12.59 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.005378, allocations: 13.38 kB / 0.5249 GB, free: 12.58 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.005582, allocations: 48.77 kB / 0.5249 GB, free: 12.54 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.005757, allocations: 167.1 kB / 0.5251 GB, free: 12.35 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.005803, allocations: 60.16 kB / 0.5251 GB, free: 12.28 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.005827, allocations: 16.36 kB / 0.5251 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.006012, allocations: 157.7 kB / 0.5253 GB, free: 12.09 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.006021, allocations: 4 kB / 0.5253 GB, free: 12.08 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.006031, allocations: 0 / 0.5253 GB, free: 12.08 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.006047, allocations: 7.984 kB / 0.5253 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.563e-05/0.006102, allocations: 65.61 kB / 0.5254 GB, free: 12 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.006593, allocations: 0.6882 MB / 0.526 GB, free: 11.27 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.006724, allocations: 81.25 kB / 0.5261 GB, free: 11.17 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.998e-05/0.006754, allocations: 50.41 kB / 0.5262 GB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.006768, allocations: 0 / 0.5262 GB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.006893, allocations: 167.6 kB / 0.5263 GB, free: 10.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.006894, allocations: 0 / 0.5263 GB, free: 10.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.000184/0.007078, allocations: 186.8 kB / 0.5265 GB, free: 10.71 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003353/0.007413, allocations: 144.4 kB / 0.5266 GB, free: 10.54 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.007517, allocations: 234.5 kB / 0.5269 GB, free: 10.29 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.007527, allocations: 29.7 kB / 0.5269 GB, free: 10.25 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.007594, allocations: 187.3 kB / 0.5271 GB, free: 10.07 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.00761, allocations: 23.83 kB / 0.5271 GB, free: 10.04 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.007657, allocations: 47.34 kB / 0.5271 GB, free: 9.988 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.007766, allocations: 0.4939 MB / 0.5276 GB, free: 9.484 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.643e-05/0.007803, allocations: 67.39 kB / 0.5277 GB, free: 9.406 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.209e-05/0.007885, allocations: 171.9 kB / 0.5278 GB, free: 9.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.008, allocations: 225.8 kB / 0.5281 GB, free: 8.898 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.008002, allocations: 4 kB / 0.5281 GB, free: 8.895 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001716/0.008174, allocations: 266.9 kB / 0.5283 GB, free: 8.605 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.008204, allocations: 59.39 kB / 0.5284 GB, free: 8.535 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.008209, allocations: 4 kB / 0.5284 GB, free: 8.531 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.008223, allocations: 4.047 kB / 0.5284 GB, free: 8.527 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.478e-05/0.008298, allocations: 41.06 kB / 0.5284 GB, free: 8.488 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.008302, allocations: 4 kB / 0.5284 GB, free: 8.484 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.465e-05/0.008367, allocations: 27.83 kB / 0.5284 GB, free: 8.457 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.008378, allocations: 8.938 kB / 0.5285 GB, free: 8.449 MB / 458.7 MB 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.045e-05/0.008468, allocations: 199.1 kB / 0.5286 GB, free: 8.238 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.008486, allocations: 15.95 kB / 0.5287 GB, free: 8.223 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.008513, allocations: 17.45 kB / 0.5287 GB, free: 8.199 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.008514, allocations: 0.6562 kB / 0.5287 GB, free: 8.199 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.008517, allocations: 5.062 kB / 0.5287 GB, free: 8.195 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.00852, allocations: 0 / 0.5287 GB, free: 8.195 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.208e-05/0.008602, allocations: 133.2 kB / 0.5288 GB, free: 8.039 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.008603, allocations: 0 / 0.5288 GB, free: 8.039 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-05/0.008639, allocations: 18.42 kB / 0.5288 GB, free: 8.023 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.008641, allocations: 0 / 0.5288 GB, free: 8.023 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.008648, allocations: 0 / 0.5288 GB, free: 8.023 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.7e-07/0.008649, allocations: 0 / 0.5288 GB, free: 8.023 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.00865, allocations: 4 kB / 0.5288 GB, free: 8.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.00884, allocations: 249.2 kB / 0.5291 GB, free: 7.734 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.008856, allocations: 15.03 kB / 0.5291 GB, free: 7.723 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.008871, allocations: 4 kB / 0.5291 GB, free: 7.719 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.363e-05/0.008905, allocations: 7.984 kB / 0.5291 GB, free: 7.711 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.008944, allocations: 11.98 kB / 0.5291 GB, free: 7.699 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.00895, allocations: 4 kB / 0.5291 GB, free: 7.695 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.599e-05/0.009006, allocations: 165.2 kB / 0.5293 GB, free: 7.535 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009006, allocations: 0 / 0.5293 GB, free: 7.535 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001493/0.009155, allocations: 31.94 kB / 0.5293 GB, free: 7.504 MB / 458.7 MB 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 7.264e-05/0.009228, allocations: 103.2 kB / 0.5294 GB, free: 7.398 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.009417, allocations: 271 kB / 0.5297 GB, free: 7.09 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.009419, allocations: 0 / 0.5297 GB, free: 7.09 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.002e-05/0.009479, allocations: 120.7 kB / 0.5298 GB, free: 6.949 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.009629, allocations: 19.97 kB / 0.5298 GB, free: 6.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004937/0.01012, allocations: 303.8 kB / 0.5301 GB, free: 6.602 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.845e-05/0.01016, allocations: 75.33 kB / 0.5302 GB, free: 6.508 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.598e-05/0.0102, allocations: 11.83 kB / 0.5302 GB, free: 6.496 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.567e-05/0.01027, allocations: 94.19 kB / 0.5303 GB, free: 6.402 MB / 458.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01027, allocations: 0 / 0.5303 GB, free: 6.402 MB / 458.7 MB Notification: Performance of Templates: time 0.003259/0.01353, allocations: 1.581 MB / 0.5318 GB, free: 4.914 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5804723808541894]