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.0009806/0.0009806, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001485/0.001485, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.009/1.009, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.7966/0.7966, allocations: 154.6 MB / 415.6 MB, free: 0.4922 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.042e-06/1.042e-06, allocations: 0 / 0.5215 GB, free: 1.996 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.384e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.992 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.00229/0.002304, allocations: 2.091 MB / 0.5235 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0008633/0.003167, allocations: 0.6847 MB / 0.5242 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.003273, allocations: 7.938 kB / 0.5242 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.003664, allocations: 87.58 kB / 0.5243 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.003829, allocations: 77 kB / 0.5244 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.003981, allocations: 67.72 kB / 0.5244 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.004167, allocations: 164.5 kB / 0.5246 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.004332, allocations: 85.14 kB / 0.5247 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.004484, allocations: 100.2 kB / 0.5248 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.004611, allocations: 59.8 kB / 0.5248 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.00463, allocations: 13.75 kB / 0.5248 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.124e-05/0.004711, allocations: 55.88 kB / 0.5249 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.499e-05/0.004756, allocations: 35.91 kB / 0.5249 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.698e-05/0.004803, allocations: 47.84 kB / 0.525 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.004967, allocations: 129.4 kB / 0.5251 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004969, allocations: 0 / 0.5251 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.81e-07/0.00497, allocations: 3.938 kB / 0.5251 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.004973, allocations: 4 kB / 0.5251 GB, free: 14.31 MB / 0.4948 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.0004369/0.00541, allocations: 0.5167 MB / 0.5256 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.005439, allocations: 8.031 kB / 0.5256 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.005619, allocations: 44.83 kB / 0.5256 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.005771, allocations: 161.7 kB / 0.5258 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/0.005811, allocations: 64.14 kB / 0.5259 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.005829, allocations: 9.781 kB / 0.5259 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.005985, allocations: 172.1 kB / 0.526 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.005992, allocations: 0 / 0.526 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.006002, allocations: 0 / 0.526 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.006015, allocations: 5.344 kB / 0.526 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.025e-05/0.006076, allocations: 69.59 kB / 0.5261 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.006593, allocations: 0.7007 MB / 0.5268 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.006726, allocations: 72.73 kB / 0.5269 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.352e-05/0.00676, allocations: 48.11 kB / 0.5269 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.006769, allocations: 3.984 kB / 0.5269 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.006894, allocations: 166.1 kB / 0.5271 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.006895, allocations: 0 / 0.5271 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002013/0.007097, allocations: 186.9 kB / 0.5272 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.007143, allocations: 136.5 kB / 0.5274 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.007256, allocations: 237.7 kB / 0.5276 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.007268, allocations: 26.27 kB / 0.5276 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.007341, allocations: 187.5 kB / 0.5278 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.00736, allocations: 23.81 kB / 0.5278 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.007405, allocations: 47.31 kB / 0.5279 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.007515, allocations: 0.501 MB / 0.5284 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.06e-05/0.007555, allocations: 79.31 kB / 0.5284 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-05/0.007633, allocations: 169.8 kB / 0.5286 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.007752, allocations: 223.6 kB / 0.5288 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007753, allocations: 0 / 0.5288 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001809/0.007934, allocations: 272 kB / 0.5291 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.007964, allocations: 68.8 kB / 0.5291 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.007968, allocations: 0 / 0.5291 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.266e-06/0.007976, allocations: 4 kB / 0.5291 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.293e-05/0.008049, allocations: 32.77 kB / 0.5292 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.008054, allocations: 7.938 kB / 0.5292 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.624e-05/0.00812, allocations: 20.39 kB / 0.5292 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.008129, allocations: 10.16 kB / 0.5292 GB, free: 9.598 MB / 0.4948 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 8.127e-05/0.008211, allocations: 198.2 kB / 0.5294 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/0.008228, allocations: 15.95 kB / 0.5294 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.008248, allocations: 17.45 kB / 0.5294 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.008249, allocations: 0 / 0.5294 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/0.008251, allocations: 6.375 kB / 0.5294 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.008254, allocations: 0 / 0.5294 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.673e-05/0.008341, allocations: 137.2 kB / 0.5296 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.008342, allocations: 0 / 0.5296 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.518e-05/0.008377, allocations: 8 kB / 0.5296 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.008379, allocations: 0 / 0.5296 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.008387, allocations: 6.078 kB / 0.5296 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.008389, allocations: 4 kB / 0.5296 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.008389, allocations: 0 / 0.5296 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.008574, allocations: 241.4 kB / 0.5298 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.008587, allocations: 11.91 kB / 0.5298 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.008603, allocations: 4 kB / 0.5298 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.738e-05/0.00864, allocations: 16.7 kB / 0.5298 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.008678, allocations: 10.42 kB / 0.5299 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.008683, allocations: 4 kB / 0.5299 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.8e-05/0.008741, allocations: 161.2 kB / 0.53 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008741, allocations: 0 / 0.53 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001623/0.008904, allocations: 35.94 kB / 0.53 GB, free: 8.668 MB / 0.4948 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 7.678e-05/0.00898, allocations: 96.89 kB / 0.5301 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001993/0.00918, allocations: 278.2 kB / 0.5304 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.009181, allocations: 4 kB / 0.5304 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.841e-05/0.009249, allocations: 112.8 kB / 0.5305 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.009409, allocations: 21.73 kB / 0.5305 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.009945, allocations: 313.7 kB / 0.5308 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.915e-05/0.009984, allocations: 75.27 kB / 0.5309 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.029e-05/0.01002, allocations: 12.02 kB / 0.5309 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.122e-05/0.01012, allocations: 94.19 kB / 0.531 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of SimCode: time 9.12e-07/0.01012, allocations: 0.5625 kB / 0.531 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of Templates: time 0.003647/0.01376, allocations: 1.613 MB / 0.5326 GB, free: 6.031 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9267643787898123]