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.001136/0.001136, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001592/0.001592, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.014/1.014, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.8481/0.8481, allocations: 154.6 MB / 414.8 MB, free: 492 kB / 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.112e-06/1.112e-06, allocations: 0.7656 kB / 480 MB, free: 6.898 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.71e-05, allocations: 2.312 kB / 480 MB, free: 6.895 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002662/0.00268, allocations: 2.147 MB / 482.1 MB, free: 4.781 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009867/0.003666, allocations: 0.7021 MB / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.78e-05/0.003754, allocations: 7.938 kB / 482.9 MB, free: 4.078 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003801/0.004134, allocations: 97.03 kB / 483 MB, free: 3.984 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.004287, allocations: 74.16 kB / 483 MB, free: 3.918 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.004431, allocations: 64.33 kB / 483.1 MB, free: 3.855 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.004608, allocations: 160 kB / 483.2 MB, free: 3.699 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.004773, allocations: 90.84 kB / 483.3 MB, free: 3.613 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.004929, allocations: 99.67 kB / 483.4 MB, free: 3.516 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.005063, allocations: 56.48 kB / 483.5 MB, free: 3.461 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.005085, allocations: 12 kB / 483.5 MB, free: 3.449 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.841e-05/0.005183, allocations: 56.5 kB / 483.5 MB, free: 3.395 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.474e-05/0.005228, allocations: 40.47 kB / 483.6 MB, free: 3.355 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.005273, allocations: 47.89 kB / 483.6 MB, free: 3.309 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.005445, allocations: 140.1 kB / 483.8 MB, free: 3.172 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.005447, allocations: 0 / 483.8 MB, free: 3.172 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005448, allocations: 0.625 kB / 483.8 MB, free: 3.172 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.005451, allocations: 0.625 kB / 483.8 MB, free: 3.172 MB / 442.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.000424/0.005875, allocations: 395.6 kB / 484.2 MB, free: 2.754 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.005907, allocations: 12.03 kB / 484.2 MB, free: 2.742 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.006124, allocations: 45.7 kB / 484.2 MB, free: 2.699 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.006302, allocations: 155.8 kB / 484.4 MB, free: 2.523 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-05/0.006346, allocations: 60.16 kB / 484.4 MB, free: 2.453 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.006365, allocations: 12.38 kB / 484.4 MB, free: 2.441 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.006538, allocations: 157.3 kB / 484.6 MB, free: 2.262 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.006546, allocations: 0.8125 kB / 484.6 MB, free: 2.262 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.006556, allocations: 4 kB / 484.6 MB, free: 2.258 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.006574, allocations: 9 kB / 484.6 MB, free: 2.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.808e-05/0.006632, allocations: 57.61 kB / 484.7 MB, free: 2.188 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.007102, allocations: 0.49 MB / 485.2 MB, free: 1.664 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.007228, allocations: 64.27 kB / 485.2 MB, free: 1.586 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.06e-05/0.007259, allocations: 42.55 kB / 485.3 MB, free: 1.535 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.007269, allocations: 0.5625 kB / 485.3 MB, free: 1.535 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001257/0.007395, allocations: 161.5 kB / 485.4 MB, free: 1.348 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.007397, allocations: 0 / 485.4 MB, free: 1.348 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001596/0.007557, allocations: 162.8 kB / 485.6 MB, free: 1.164 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.00761, allocations: 145.2 kB / 485.7 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.007716, allocations: 163.2 kB / 485.9 MB, free: 0.8203 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.007732, allocations: 33.7 kB / 485.9 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.007788, allocations: 140.8 kB / 486 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.007804, allocations: 23.77 kB / 486.1 MB, free: 0.6172 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.007849, allocations: 41.64 kB / 486.1 MB, free: 0.5703 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.007921, allocations: 327.4 kB / 486.4 MB, free: 248 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.632e-05/0.007957, allocations: 67.39 kB / 486.5 MB, free: 168 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.651e-05/0.008034, allocations: 148.5 kB / 486.6 MB, free: 15.98 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.008145, allocations: 203.9 kB / 486.8 MB, free: 15.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.008147, allocations: 3.938 kB / 486.8 MB, free: 15.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001615/0.008309, allocations: 232.5 kB / 487.1 MB, free: 15.47 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/0.008345, allocations: 64.8 kB / 487.1 MB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.008351, allocations: 4 kB / 487.1 MB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.008364, allocations: 0 / 487.1 MB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.008468, allocations: 40.52 kB / 487.2 MB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.008474, allocations: 8.25 kB / 487.2 MB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.413e-05/0.008538, allocations: 21.31 kB / 487.2 MB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.008551, allocations: 12 kB / 487.2 MB, free: 15.31 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 8.983e-05/0.008641, allocations: 151.1 kB / 487.4 MB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.008658, allocations: 15.98 kB / 487.4 MB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.008687, allocations: 14.08 kB / 487.4 MB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.00869, allocations: 4 kB / 487.4 MB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.008693, allocations: 4.906 kB / 487.4 MB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.008696, allocations: 0 / 487.4 MB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.489e-05/0.008781, allocations: 93.45 kB / 487.5 MB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.008784, allocations: 4 kB / 487.5 MB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.475e-05/0.008838, allocations: 8.531 kB / 487.5 MB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.008841, allocations: 0 / 487.5 MB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.00885, allocations: 9.734 kB / 487.5 MB, free: 14.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.008851, allocations: 4 kB / 487.5 MB, free: 14.97 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.008853, allocations: 3.984 kB / 487.5 MB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.009023, allocations: 212.9 kB / 487.7 MB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.009037, allocations: 17.3 kB / 487.7 MB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.009055, allocations: 4 kB / 487.8 MB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.471e-05/0.00909, allocations: 7.984 kB / 487.8 MB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.009134, allocations: 11.98 kB / 487.8 MB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.00914, allocations: 8.938 kB / 487.8 MB, free: 14.67 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.842e-05/0.009178, allocations: 50.92 kB / 487.8 MB, free: 14.62 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009178, allocations: 0.75 kB / 487.8 MB, free: 14.62 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001417/0.00932, allocations: 31.95 kB / 487.9 MB, free: 14.59 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 6.828e-05/0.009388, allocations: 82.05 kB / 487.9 MB, free: 14.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.009564, allocations: 270.4 kB / 488.2 MB, free: 14.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.009568, allocations: 0 / 488.2 MB, free: 14.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.895e-05/0.009627, allocations: 115.5 kB / 488.3 MB, free: 14.06 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001123/0.00974, allocations: 24.12 kB / 488.3 MB, free: 14.04 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005023/0.01024, allocations: 313.6 kB / 488.6 MB, free: 13.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.516e-05/0.01028, allocations: 75.77 kB / 488.7 MB, free: 13.61 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.015e-05/0.01032, allocations: 16.47 kB / 488.7 MB, free: 13.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.933e-05/0.0104, allocations: 75.38 kB / 488.8 MB, free: 13.53 MB / 458.7 MB Notification: Performance of SimCode: time 5.91e-07/0.0104, allocations: 0.6875 kB / 488.8 MB, free: 13.53 MB / 458.7 MB Notification: Performance of Templates: time 0.003216/0.01361, allocations: 1.556 MB / 490.4 MB, free: 12.11 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.737828595098108]