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.0008229/0.0008229, allocations: 80.44 kB / 19.91 MB, free: 4 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.000795/0.000795, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.8832/0.8832, allocations: 177.2 MB / 203.6 MB, free: 5.75 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-531:686: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-531:694: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.7326/0.7326, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 76.7 kB / 0.6195 GB, free: 13.19 MB / 0.5886 GB [/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 FrontEnd - Absyn->SCode: time 0.4974/0.4986, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003618/0.5022, allocations: 2.291 MB / 0.7213 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.5033, allocations: 0.8213 MB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.399e-05/0.5034, allocations: 2.219 kB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005496/0.5039, allocations: 149 kB / 0.7223 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.5041, allocations: 64.53 kB / 0.7223 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.5042, allocations: 72.17 kB / 0.7224 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.5045, allocations: 165.4 kB / 0.7225 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003033/0.5048, allocations: 81.45 kB / 0.7226 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.5051, allocations: 108.7 kB / 0.7227 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.5053, allocations: 61.5 kB / 0.7228 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.5053, allocations: 12.19 kB / 0.7228 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.5055, allocations: 53.89 kB / 0.7228 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.649e-05/0.5055, allocations: 45.91 kB / 0.7229 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.5056, allocations: 53.98 kB / 0.7229 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.506, allocations: 202 kB / 0.7231 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.506, allocations: 0 / 0.7231 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.646e-06/0.506, allocations: 1.469 kB / 0.7231 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.5061, allocations: 0 / 0.7231 GB, free: 21.07 MB / 0.6355 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.0008214/0.5069, allocations: 420.9 kB / 0.7235 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.416e-05/0.5069, allocations: 9.562 kB / 0.7235 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002676/0.5072, allocations: 37.88 kB / 0.7236 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.5075, allocations: 160.4 kB / 0.7237 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.683e-05/0.5076, allocations: 74.09 kB / 0.7238 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.476e-05/0.5076, allocations: 12.67 kB / 0.7238 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.5079, allocations: 173.1 kB / 0.724 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.5079, allocations: 1.094 kB / 0.724 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.5079, allocations: 5.125 kB / 0.724 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.508, allocations: 6.234 kB / 0.724 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.5081, allocations: 118 kB / 0.7241 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006426/0.5088, allocations: 0.5577 MB / 0.7246 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.509, allocations: 86.12 kB / 0.7247 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.968e-05/0.509, allocations: 54.41 kB / 0.7248 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.5091, allocations: 1.062 kB / 0.7248 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.5092, allocations: 179.2 kB / 0.725 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.5092, allocations: 3.984 kB / 0.725 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003096/0.5095, allocations: 221.8 kB / 0.7252 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.5096, allocations: 133.2 kB / 0.7253 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.5097, allocations: 192 kB / 0.7255 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.669e-06/0.5097, allocations: 27.17 kB / 0.7255 GB, free: 19 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.5098, allocations: 139.4 kB / 0.7256 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.5098, allocations: 29.92 kB / 0.7257 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.5098, allocations: 38.64 kB / 0.7257 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.319e-05/0.5099, allocations: 324 kB / 0.726 GB, free: 18.51 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.25e-05/0.51, allocations: 99.55 kB / 0.7261 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.917e-05/0.5101, allocations: 165.3 kB / 0.7263 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.5102, allocations: 233.3 kB / 0.7265 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5102, allocations: 0 / 0.7265 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002614/0.5105, allocations: 308.1 kB / 0.7268 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.5105, allocations: 62.53 kB / 0.7268 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.5105, allocations: 8.172 kB / 0.7268 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.5105, allocations: 3.25 kB / 0.7269 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.5106, allocations: 34.14 kB / 0.7269 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/0.5107, allocations: 4.625 kB / 0.7269 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.908e-05/0.5108, allocations: 26.58 kB / 0.7269 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.5108, allocations: 11.62 kB / 0.7269 GB, free: 17.73 MB / 0.6355 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 0.0001031/0.5109, allocations: 165.5 kB / 0.7271 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.5109, allocations: 16.16 kB / 0.7271 GB, free: 17.56 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.914e-05/0.5109, allocations: 19 kB / 0.7271 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.5109, allocations: 0 / 0.7271 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5109, allocations: 4.75 kB / 0.7271 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.893e-05/0.511, allocations: 12.53 kB / 0.7271 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.511, allocations: 6.781 kB / 0.7271 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.711e-05/0.511, allocations: 14.09 kB / 0.7272 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.019e-05/0.5111, allocations: 7.281 kB / 0.7272 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002457/0.5113, allocations: 255.2 kB / 0.7274 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003346/0.5117, allocations: 428.4 kB / 0.7278 GB, free: 16.97 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.317e-05/0.5118, allocations: 66.56 kB / 0.7279 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.635e-05/0.5119, allocations: 131.2 kB / 0.728 GB, free: 16.83 MB / 0.6355 GB Notification: Performance of Backend: time 2.5e-07/0.5119, allocations: 3.938 kB / 0.728 GB, free: 16.83 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006056/0.5125, allocations: 357.8 kB / 0.7283 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0006611/0.5131, allocations: 0.7861 MB / 0.7291 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.004582/0.5177, allocations: 1.86 MB / 0.7309 GB, free: 15.57 MB / 0.6355 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.313855841988698] Failed to read output from testmodel.py, exit status != 0: 0.5237722529564053 0.532591938 0.024630444 Calling exit ...