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.0009044/0.0009044, allocations: 80.45 kB / 19.9 MB, free: 12 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.0009049/0.0009049, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9051/0.9051, allocations: 177.2 MB / 203.6 MB, free: 5.77 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.7057/0.7057, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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.0008818/0.0008818, allocations: 71.89 kB / 0.6195 GB, free: 13.14 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.504/0.5049, allocations: 101.9 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002575/0.5075, allocations: 2.29 MB / 0.7213 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008767/0.5083, allocations: 0.8224 MB / 0.7221 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.82e-05/0.5084, allocations: 2.312 kB / 0.7221 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004605/0.5089, allocations: 148 kB / 0.7222 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.509, allocations: 61.62 kB / 0.7223 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.5092, allocations: 67.69 kB / 0.7224 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002/0.5094, allocations: 165 kB / 0.7225 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002181/0.5096, allocations: 86.11 kB / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.5097, allocations: 111.4 kB / 0.7227 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.5099, allocations: 63.02 kB / 0.7228 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.5099, allocations: 11.94 kB / 0.7228 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.181e-05/0.51, allocations: 52.91 kB / 0.7228 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.883e-05/0.5101, allocations: 43.61 kB / 0.7229 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.642e-05/0.5101, allocations: 57.17 kB / 0.7229 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.5104, allocations: 182.4 kB / 0.7231 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.5104, allocations: 0 / 0.7231 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5104, allocations: 0 / 0.7231 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.5104, 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.0005408/0.5109, allocations: 429.5 kB / 0.7235 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.511, allocations: 9.781 kB / 0.7235 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.5112, allocations: 39.14 kB / 0.7236 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.5113, allocations: 155.2 kB / 0.7237 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.524e-05/0.5114, allocations: 69.47 kB / 0.7238 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.5114, allocations: 12.97 kB / 0.7238 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.5116, allocations: 173.4 kB / 0.7239 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.5116, allocations: 1.094 kB / 0.7239 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.5117, allocations: 12.92 kB / 0.724 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.5117, allocations: 5 kB / 0.724 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.5118, allocations: 120 kB / 0.7241 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004948/0.5123, allocations: 0.5594 MB / 0.7246 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.5125, allocations: 81.19 kB / 0.7247 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.859e-05/0.5125, allocations: 54.72 kB / 0.7248 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.5125, allocations: 5.219 kB / 0.7248 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.5127, allocations: 178.6 kB / 0.7249 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.5127, allocations: 0 / 0.7249 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002997/0.513, allocations: 225.5 kB / 0.7251 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.513, allocations: 136.4 kB / 0.7253 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.5132, allocations: 185.2 kB / 0.7255 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.5132, allocations: 27.95 kB / 0.7255 GB, free: 19 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.5132, allocations: 144 kB / 0.7256 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.5132, allocations: 21.05 kB / 0.7256 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.5133, allocations: 47.41 kB / 0.7257 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.364e-05/0.5133, allocations: 325.4 kB / 0.726 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.498e-05/0.5134, allocations: 92.91 kB / 0.7261 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.355e-05/0.5135, allocations: 166.8 kB / 0.7262 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.5137, allocations: 230.6 kB / 0.7265 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5137, allocations: 1.188 kB / 0.7265 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002438/0.5139, allocations: 307.2 kB / 0.7268 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/0.5139, allocations: 75.55 kB / 0.7268 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.5139, allocations: 7.062 kB / 0.7268 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.514, allocations: 4.156 kB / 0.7268 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.916e-05/0.514, allocations: 26.09 kB / 0.7269 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.5141, allocations: 4.828 kB / 0.7269 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.646e-05/0.5141, allocations: 25.52 kB / 0.7269 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.5141, allocations: 12.22 kB / 0.7269 GB, free: 17.72 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 9.613e-05/0.5142, allocations: 159.4 kB / 0.7271 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.5143, allocations: 23.41 kB / 0.7271 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.5143, allocations: 14.69 kB / 0.7271 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.5143, allocations: 5.469 kB / 0.7271 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5143, allocations: 1.625 kB / 0.7271 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5143, allocations: 0.75 kB / 0.7271 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.934e-05/0.5144, allocations: 143.5 kB / 0.7272 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5144, allocations: 0 / 0.7272 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.683e-05/0.5145, allocations: 13.97 kB / 0.7272 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5145, allocations: 1.375 kB / 0.7272 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.5145, allocations: 6.109 kB / 0.7273 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5145, allocations: 6.328 kB / 0.7273 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5145, allocations: 0 / 0.7273 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.5147, allocations: 278.7 kB / 0.7275 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.5148, allocations: 15.62 kB / 0.7275 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.5148, allocations: 7.234 kB / 0.7275 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.516e-05/0.5148, allocations: 12.58 kB / 0.7276 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.5149, allocations: 6.719 kB / 0.7276 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-06/0.5149, allocations: 3.156 kB / 0.7276 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.607e-05/0.515, allocations: 135.8 kB / 0.7277 GB, free: 17.06 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.515, allocations: 4.062 kB / 0.7277 GB, free: 17.06 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001606/0.5151, allocations: 30.94 kB / 0.7277 GB, free: 17.05 MB / 0.6355 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.861e-05/0.5152, allocations: 100.5 kB / 0.7278 GB, free: 16.96 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002306/0.5154, allocations: 297.5 kB / 0.7281 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5154, allocations: 1.375 kB / 0.7281 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.178e-05/0.5155, allocations: 127.8 kB / 0.7282 GB, free: 16.59 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.5157, allocations: 23.23 kB / 0.7283 GB, free: 16.58 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.5161, allocations: 331.4 kB / 0.7286 GB, free: 16.35 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.023e-05/0.5162, allocations: 102.6 kB / 0.7287 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.217e-05/0.5162, allocations: 20.5 kB / 0.7287 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.5163, allocations: 15.53 kB / 0.7287 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of SimCode: time 5.61e-07/0.5163, allocations: 0 / 0.7287 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of Templates: time 0.003562/0.5198, allocations: 1.472 MB / 0.7301 GB, free: 16.07 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.232440455001779] Failed to read output from testmodel.py, exit status != 0: 0.5253095299704 0.53468854 0.022157956000000003 Calling exit ...