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.0009965/0.0009965, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001321/0.001321, allocations: 165 kB / 23.02 MB, free: 1.551 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.065/1.065, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.8021/0.8021, allocations: 154.6 MB / 414.5 MB, free: 0.6328 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.733e-06/1.733e-06, allocations: 0 / 0.5203 GB, free: 2.238 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.9e-05, allocations: 7.094 kB / 0.5203 GB, free: 2.23 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002558/0.002577, allocations: 2.092 MB / 0.5223 GB, free: 148 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009453/0.003523, allocations: 0.6963 MB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.514e-05/0.003608, allocations: 3.938 kB / 0.523 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.004022, allocations: 96.08 kB / 0.5231 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.004179, allocations: 77.42 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.004329, allocations: 59.75 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.004515, allocations: 167.4 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.004715, allocations: 92.45 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.004878, allocations: 96.98 kB / 0.5236 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.005002, allocations: 51.86 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.005024, allocations: 15.94 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.681e-05/0.00511, allocations: 60.62 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.079e-05/0.005161, allocations: 39.84 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.379e-05/0.005215, allocations: 44.53 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.005403, allocations: 131.5 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.005405, allocations: 0.8438 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.41e-07/0.005405, allocations: 0 / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.00541, allocations: 0.9375 kB / 0.5239 GB, free: 14.54 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.0005068/0.005916, allocations: 0.5151 MB / 0.5244 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.005948, allocations: 10.69 kB / 0.5244 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.00615, allocations: 44.83 kB / 0.5244 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.006341, allocations: 166.2 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-05/0.006399, allocations: 64.16 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.006427, allocations: 12.38 kB / 0.5247 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.006636, allocations: 175.8 kB / 0.5248 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.006645, allocations: 0 / 0.5248 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.006659, allocations: 4 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.006682, allocations: 11.98 kB / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.651e-05/0.006768, allocations: 58.25 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005681/0.007336, allocations: 0.6965 MB / 0.5256 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.007492, allocations: 81.88 kB / 0.5257 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.932e-05/0.007531, allocations: 49.44 kB / 0.5257 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.007545, allocations: 3.938 kB / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/0.007679, allocations: 166.7 kB / 0.5259 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.007681, allocations: 1 kB / 0.5259 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002266/0.007907, allocations: 194.8 kB / 0.5261 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.007958, allocations: 140.5 kB / 0.5262 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.008083, allocations: 235.5 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.008095, allocations: 29.7 kB / 0.5265 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.00817, allocations: 190.4 kB / 0.5266 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.008188, allocations: 23.83 kB / 0.5267 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.008232, allocations: 40.55 kB / 0.5267 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.008339, allocations: 0.5001 MB / 0.5272 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.005e-05/0.008389, allocations: 75.39 kB / 0.5273 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-05/0.008477, allocations: 174.7 kB / 0.5274 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.00875, allocations: 228.3 kB / 0.5276 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.008752, allocations: 2.781 kB / 0.5276 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002026/0.008954, allocations: 276.1 kB / 0.5279 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.008987, allocations: 68.73 kB / 0.528 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.008991, allocations: 0 / 0.528 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.009006, allocations: 4 kB / 0.528 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.022e-05/0.009086, allocations: 36.48 kB / 0.528 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.009093, allocations: 4 kB / 0.528 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.502e-05/0.009158, allocations: 27.28 kB / 0.528 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.009168, allocations: 8 kB / 0.5281 GB, free: 9.781 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.689e-05/0.009255, allocations: 195.2 kB / 0.5282 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.009276, allocations: 15.95 kB / 0.5283 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.0093, allocations: 17.45 kB / 0.5283 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.009302, allocations: 0 / 0.5283 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.009306, allocations: 3.938 kB / 0.5283 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.009309, allocations: 2.469 kB / 0.5283 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.009411, allocations: 160.5 kB / 0.5284 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.009413, allocations: 0 / 0.5284 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.009455, allocations: 11.98 kB / 0.5284 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.009456, allocations: 0 / 0.5284 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.009466, allocations: 11.88 kB / 0.5285 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.009467, allocations: 4 kB / 0.5285 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.009468, allocations: 0.875 kB / 0.5285 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.009693, allocations: 253.4 kB / 0.5287 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.009708, allocations: 9.062 kB / 0.5287 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.009728, allocations: 11.98 kB / 0.5287 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.588e-05/0.009764, allocations: 4 kB / 0.5287 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.009812, allocations: 12.8 kB / 0.5287 GB, free: 9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.009819, allocations: 4 kB / 0.5287 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.323e-05/0.009892, allocations: 167.5 kB / 0.5289 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009892, allocations: 0 / 0.5289 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001577/0.01005, allocations: 27.94 kB / 0.5289 GB, free: 8.809 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 6.839e-05/0.01012, allocations: 114.9 kB / 0.529 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001896/0.01031, allocations: 273.9 kB / 0.5293 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.01031, allocations: 0 / 0.5293 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.624e-05/0.01037, allocations: 128.7 kB / 0.5294 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.01053, allocations: 15.78 kB / 0.5294 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005645/0.01109, allocations: 310.2 kB / 0.5297 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.716e-05/0.01113, allocations: 71.33 kB / 0.5298 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.663e-05/0.01118, allocations: 18.91 kB / 0.5298 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.01121, allocations: 17.12 kB / 0.5298 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of SimCode: time 8.52e-07/0.01121, allocations: 0.7188 kB / 0.5298 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of Templates: time 0.002997/0.01421, allocations: 1.461 MB / 0.5313 GB, free: 6.375 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: 4.149241844192147]