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.0009901/0.0009901, allocations: 92.22 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.0009656/0.0009656, allocations: 173 kB / 23.03 MB, free: 1.543 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.9454/0.9454, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.7213/0.7213, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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.293e-06/1.293e-06, allocations: 0 / 0.5203 GB, free: 2.234 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.039e-05, allocations: 7.531 kB / 0.5203 GB, free: 2.23 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002718/0.002738, allocations: 2.094 MB / 0.5223 GB, free: 152 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.00384, allocations: 0.6954 MB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.541e-05/0.003935, allocations: 0 / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004463/0.004381, allocations: 97.25 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.004555, allocations: 75.53 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.004735, allocations: 65.89 kB / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.004937, allocations: 167.3 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.005145, allocations: 85.16 kB / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.005327, allocations: 95.73 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.005476, allocations: 59.78 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.005498, allocations: 13.47 kB / 0.5236 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.005601, allocations: 55.89 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.461e-05/0.005655, allocations: 43.83 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.975e-05/0.005715, allocations: 47.84 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.005928, allocations: 124.6 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.00593, allocations: 0 / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.005931, allocations: 0 / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.005936, allocations: 0.9688 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.0005534/0.006489, allocations: 0.5161 MB / 0.5244 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.006529, allocations: 8.031 kB / 0.5244 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002312/0.00676, allocations: 53.31 kB / 0.5245 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.006957, allocations: 158.6 kB / 0.5246 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.799e-05/0.007015, allocations: 64.16 kB / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.007038, allocations: 17.53 kB / 0.5247 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.007263, allocations: 176.5 kB / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.007273, allocations: 0 / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.007289, allocations: 12.55 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.007311, allocations: 5.781 kB / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.251e-05/0.007394, allocations: 69.61 kB / 0.5249 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.007981, allocations: 0.6877 MB / 0.5256 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.008159, allocations: 82.45 kB / 0.5257 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/0.008202, allocations: 49.44 kB / 0.5257 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.008214, allocations: 0 / 0.5257 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.008365, allocations: 170.1 kB / 0.5259 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.008367, allocations: 1.469 kB / 0.5259 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002527/0.008619, allocations: 194.8 kB / 0.5261 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.008675, allocations: 144.4 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.009094, allocations: 229.8 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.009107, allocations: 26.45 kB / 0.5265 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.827e-05/0.009185, allocations: 190.5 kB / 0.5266 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.009204, allocations: 25.3 kB / 0.5267 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.009251, allocations: 43.31 kB / 0.5267 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.009364, allocations: 0.4962 MB / 0.5272 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.197e-05/0.009416, allocations: 76.14 kB / 0.5273 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.216e-05/0.009508, allocations: 177.4 kB / 0.5274 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.009643, allocations: 225.5 kB / 0.5277 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.009646, allocations: 4 kB / 0.5277 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002115/0.009858, allocations: 270.9 kB / 0.5279 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/0.009895, allocations: 63.41 kB / 0.528 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.009903, allocations: 4 kB / 0.528 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.009919, allocations: 8.844 kB / 0.528 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.274e-05/0.01, allocations: 31.92 kB / 0.528 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.01001, allocations: 4.938 kB / 0.528 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.552e-05/0.01009, allocations: 23.88 kB / 0.528 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.0101, allocations: 12.88 kB / 0.5281 GB, free: 9.785 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 9.2e-05/0.01019, allocations: 195.6 kB / 0.5282 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.01021, allocations: 19.89 kB / 0.5283 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.01023, allocations: 13.47 kB / 0.5283 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01023, allocations: 0 / 0.5283 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.01024, allocations: 5.469 kB / 0.5283 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01024, allocations: 0 / 0.5283 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.01035, allocations: 160.5 kB / 0.5284 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.01036, allocations: 7.922 kB / 0.5284 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.0104, allocations: 8.656 kB / 0.5285 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.0104, allocations: 0 / 0.5285 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.01041, allocations: 4.656 kB / 0.5285 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.01041, allocations: 4.562 kB / 0.5285 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.01041, allocations: 0 / 0.5285 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.01063, allocations: 250.8 kB / 0.5287 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.01064, allocations: 11.91 kB / 0.5287 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.01066, allocations: 8 kB / 0.5287 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.858e-05/0.0107, allocations: 10.44 kB / 0.5287 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.01075, allocations: 11.92 kB / 0.5287 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-06/0.01076, allocations: 4 kB / 0.5287 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.045e-05/0.01083, allocations: 165.3 kB / 0.5289 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01083, allocations: 0 / 0.5289 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001638/0.01099, allocations: 35.88 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 7.149e-05/0.01106, allocations: 106.1 kB / 0.529 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.01127, allocations: 271.4 kB / 0.5293 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01127, allocations: 0 / 0.5293 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.594e-05/0.01134, allocations: 122 kB / 0.5294 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.01151, allocations: 19.94 kB / 0.5294 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005658/0.01207, allocations: 317.3 kB / 0.5297 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.831e-05/0.01211, allocations: 79.22 kB / 0.5298 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.554e-05/0.01215, allocations: 20.61 kB / 0.5298 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.01218, allocations: 12.5 kB / 0.5298 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of SimCode: time 8.82e-07/0.01218, allocations: 4 kB / 0.5298 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.003701/0.01589, allocations: 1.525 MB / 0.5313 GB, free: 6.316 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.5887691318057477]