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.0009538/0.0009538, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001186/0.00214, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001006/0.001006, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001194/0.002201, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9736/0.9736, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1032/1.077, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.877/0.877, allocations: 154.6 MB / 398.5 MB, free: 0.5312 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2749/1.152, allocations: 49.05 MB / 447.6 MB, free: 6.695 MB / 426.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: Performance of FrontEnd - loaded program: time 2.966e-06/2.966e-06, allocations: 0.7656 kB / 448.8 MB, free: 5.457 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.912e-05, allocations: 5.688 kB / 448.8 MB, free: 5.453 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002853/0.002882, allocations: 2.173 MB / 451 MB, free: 3.316 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008883/0.003771, allocations: 0.7111 MB / 451.7 MB, free: 2.613 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.951e-05/0.00386, allocations: 4 kB / 451.7 MB, free: 2.609 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003791/0.004239, allocations: 118.1 kB / 451.8 MB, free: 2.496 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.00435, allocations: 75.58 kB / 451.9 MB, free: 2.434 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.004486, allocations: 68.91 kB / 452 MB, free: 2.367 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.004704, allocations: 183.3 kB / 452.2 MB, free: 2.188 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.004891, allocations: 79.58 kB / 452.2 MB, free: 2.113 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.005079, allocations: 113 kB / 452.4 MB, free: 2.004 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.005238, allocations: 63.78 kB / 452.4 MB, free: 1.941 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.00526, allocations: 12 kB / 452.4 MB, free: 1.93 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.00537, allocations: 56.33 kB / 452.5 MB, free: 1.875 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.005422, allocations: 37.02 kB / 452.5 MB, free: 1.84 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.756e-05/0.00548, allocations: 35.94 kB / 452.6 MB, free: 1.805 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.005662, allocations: 123.5 kB / 452.7 MB, free: 1.684 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.572e-05/0.005678, allocations: 0.625 kB / 452.7 MB, free: 1.684 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.00568, allocations: 4 kB / 452.7 MB, free: 1.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.783e-05/0.005698, allocations: 2.156 kB / 452.7 MB, free: 1.68 MB / 426.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.0005939/0.006292, allocations: 429.5 kB / 453.1 MB, free: 1.227 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.006327, allocations: 12.03 kB / 453.1 MB, free: 1.215 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002455/0.006573, allocations: 126 kB / 453.2 MB, free: 1.074 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.006744, allocations: 151.5 kB / 453.4 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.006791, allocations: 64.16 kB / 453.4 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.006811, allocations: 8.375 kB / 453.5 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.006991, allocations: 153.9 kB / 453.6 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.006999, allocations: 1.531 kB / 453.6 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.00701, allocations: 8.5 kB / 453.6 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.007029, allocations: 8 kB / 453.6 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.431e-05/0.007093, allocations: 53.69 kB / 453.7 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.007575, allocations: 0.4894 MB / 454.2 MB, free: 48 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.007742, allocations: 70.06 kB / 454.2 MB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.983e-05/0.007772, allocations: 46.55 kB / 454.3 MB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.007782, allocations: 1 kB / 454.3 MB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.007934, allocations: 168.4 kB / 454.4 MB, free: 15.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.007935, allocations: 0.625 kB / 454.4 MB, free: 15.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001734/0.008109, allocations: 166.7 kB / 454.6 MB, free: 15.53 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.008172, allocations: 141.8 kB / 454.7 MB, free: 15.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.008276, allocations: 178.5 kB / 454.9 MB, free: 15.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.00829, allocations: 25.7 kB / 454.9 MB, free: 15.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.008357, allocations: 136.9 kB / 455.1 MB, free: 15 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.00838, allocations: 27.81 kB / 455.1 MB, free: 14.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.008421, allocations: 37.66 kB / 455.1 MB, free: 14.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.008524, allocations: 331.9 kB / 455.5 MB, free: 14.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.549e-05/0.00857, allocations: 71.31 kB / 455.5 MB, free: 14.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.968e-05/0.008649, allocations: 140.8 kB / 455.7 MB, free: 14.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.00878, allocations: 204.3 kB / 455.9 MB, free: 14.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.008782, allocations: 1.438 kB / 455.9 MB, free: 14.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001716/0.008953, allocations: 242.2 kB / 456.1 MB, free: 13.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/0.008997, allocations: 59.41 kB / 456.2 MB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.009003, allocations: 0 / 456.2 MB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.009013, allocations: 4.781 kB / 456.2 MB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.009128, allocations: 49.67 kB / 456.2 MB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.009134, allocations: 4.875 kB / 456.2 MB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.199e-05/0.009196, allocations: 24.95 kB / 456.3 MB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.009204, allocations: 4 kB / 456.3 MB, free: 13.67 MB / 442.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 8.333e-05/0.009287, allocations: 154.9 kB / 456.4 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.009303, allocations: 15.98 kB / 456.4 MB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.555e-05/0.009328, allocations: 14.09 kB / 456.4 MB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.00933, allocations: 0.625 kB / 456.4 MB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.009333, allocations: 3.938 kB / 456.4 MB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.009336, allocations: 0.625 kB / 456.4 MB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.272e-05/0.009419, allocations: 100.7 kB / 456.5 MB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009421, allocations: 0.5625 kB / 456.5 MB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.049e-05/0.009471, allocations: 12.55 kB / 456.6 MB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.009484, allocations: 11.91 kB / 456.6 MB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.009486, allocations: 0.8438 kB / 456.6 MB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.009495, allocations: 7.984 kB / 456.6 MB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.009497, allocations: 0.5312 kB / 456.6 MB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.009499, allocations: 5.594 kB / 456.6 MB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.009674, allocations: 217.6 kB / 456.8 MB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.009693, allocations: 7.984 kB / 456.8 MB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.15e-05/0.009724, allocations: 4 kB / 456.8 MB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.009768, allocations: 12.89 kB / 456.8 MB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.009774, allocations: 3.938 kB / 456.8 MB, free: 13.03 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.538e-05/0.009809, allocations: 50.94 kB / 456.9 MB, free: 12.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009809, allocations: 3.938 kB / 456.9 MB, free: 12.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001254/0.009934, allocations: 37.38 kB / 456.9 MB, free: 12.94 MB / 442.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 6.775e-05/0.01, allocations: 77.64 kB / 457 MB, free: 12.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.01018, allocations: 270 kB / 457.2 MB, free: 12.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.01019, allocations: 8 kB / 457.3 MB, free: 12.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.134e-05/0.01025, allocations: 114 kB / 457.4 MB, free: 12.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.01037, allocations: 38.48 kB / 457.4 MB, free: 12.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.01137, allocations: 321.8 kB / 457.7 MB, free: 12.03 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.919e-05/0.01141, allocations: 71.83 kB / 457.8 MB, free: 11.94 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.764e-05/0.01145, allocations: 11.41 kB / 457.8 MB, free: 11.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.253e-05/0.01153, allocations: 83.34 kB / 457.9 MB, free: 11.85 MB / 442.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01153, allocations: 0.6875 kB / 457.9 MB, free: 11.85 MB / 442.7 MB Notification: Performance of Templates: time 0.003311/0.01484, allocations: 1.607 MB / 459.5 MB, free: 10.38 MB / 442.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.641973340883851]