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.001204/0.001204, allocations: 76.45 kB / 19.91 MB, free: 16 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.001041/0.001041, allocations: 166.3 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.854/0.854, allocations: 177.2 MB / 203.6 MB, free: 5.781 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.7285/0.7285, 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.0008839/0.0008839, allocations: 63.91 kB / 0.6195 GB, free: 13.17 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.5037/0.5046, 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.003946/0.5086, allocations: 2.29 MB / 0.7213 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.5103, allocations: 0.8181 MB / 0.7221 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.5105, allocations: 2.219 kB / 0.7221 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008718/0.5113, allocations: 153.2 kB / 0.7222 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.5116, allocations: 64.61 kB / 0.7223 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.5119, allocations: 69.66 kB / 0.7224 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003734/0.5123, allocations: 168 kB / 0.7225 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003552/0.5127, allocations: 81.83 kB / 0.7226 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002861/0.5129, allocations: 107.8 kB / 0.7227 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.5131, allocations: 65.95 kB / 0.7228 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.5132, allocations: 16.03 kB / 0.7228 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.5133, allocations: 54.42 kB / 0.7228 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.695e-05/0.5134, allocations: 38.06 kB / 0.7229 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.025e-05/0.5134, allocations: 61.45 kB / 0.7229 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.5138, allocations: 190.7 kB / 0.7231 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.5138, allocations: 0 / 0.7231 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5138, allocations: 0 / 0.7231 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.5138, allocations: 0 / 0.7231 GB, free: 21.09 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.000738/0.5145, allocations: 422.2 kB / 0.7235 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.5146, allocations: 9.031 kB / 0.7235 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002613/0.5148, allocations: 38.27 kB / 0.7236 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.515, allocations: 164.3 kB / 0.7237 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.383e-05/0.5151, allocations: 67.09 kB / 0.7238 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.5151, allocations: 10.84 kB / 0.7238 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.5154, allocations: 183 kB / 0.724 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.5155, allocations: 1.25 kB / 0.724 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.5155, allocations: 5.188 kB / 0.724 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.5155, allocations: 4.656 kB / 0.724 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.5156, allocations: 123.1 kB / 0.7241 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006617/0.5163, allocations: 0.5542 MB / 0.7246 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.5165, allocations: 81.66 kB / 0.7247 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.774e-05/0.5166, allocations: 54.27 kB / 0.7248 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.5166, allocations: 1.375 kB / 0.7248 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.5168, allocations: 178.4 kB / 0.7249 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.064e-06/0.5168, allocations: 4 kB / 0.7249 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003335/0.5171, allocations: 225.9 kB / 0.7252 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.5172, allocations: 132.8 kB / 0.7253 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.5173, allocations: 189.9 kB / 0.7255 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.5173, allocations: 30.58 kB / 0.7255 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.5174, allocations: 139 kB / 0.7256 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.5174, allocations: 25.75 kB / 0.7257 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.5175, allocations: 38.31 kB / 0.7257 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.537e-05/0.5175, allocations: 323.4 kB / 0.726 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.918e-05/0.5176, allocations: 101.4 kB / 0.7261 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.75e-05/0.5177, allocations: 164.4 kB / 0.7262 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.5178, allocations: 237.1 kB / 0.7265 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5178, allocations: 0 / 0.7265 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002589/0.5181, allocations: 303 kB / 0.7268 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.5182, allocations: 67.73 kB / 0.7268 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.5182, allocations: 3.375 kB / 0.7268 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.5182, allocations: 8.75 kB / 0.7268 GB, free: 17.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.291e-05/0.5183, allocations: 34.05 kB / 0.7269 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.5183, allocations: 3.922 kB / 0.7269 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.319e-05/0.5184, allocations: 22.7 kB / 0.7269 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.5184, allocations: 8 kB / 0.7269 GB, free: 17.75 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.217e-05/0.5185, allocations: 169.4 kB / 0.7271 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.5185, allocations: 19.22 kB / 0.7271 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.5185, allocations: 14.75 kB / 0.7271 GB, free: 17.56 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.5185, allocations: 5.422 kB / 0.7271 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5185, allocations: 7.984 kB / 0.7271 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.5185, allocations: 2.047 kB / 0.7271 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.5186, allocations: 143.8 kB / 0.7273 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5187, allocations: 0.75 kB / 0.7273 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/0.5187, allocations: 9.125 kB / 0.7273 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5187, allocations: 1.375 kB / 0.7273 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.5187, allocations: 7.203 kB / 0.7273 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.5187, allocations: 0.5156 kB / 0.7273 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5187, allocations: 0 / 0.7273 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.519, allocations: 285.9 kB / 0.7275 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/0.5191, allocations: 16.36 kB / 0.7276 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.5191, allocations: 7.312 kB / 0.7276 GB, free: 17.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.825e-05/0.5191, allocations: 14.69 kB / 0.7276 GB, free: 17.17 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.5192, allocations: 9.625 kB / 0.7276 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.5192, allocations: 3.016 kB / 0.7276 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.764e-05/0.5193, allocations: 135.2 kB / 0.7277 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5193, allocations: 0 / 0.7277 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001771/0.5195, allocations: 30.59 kB / 0.7277 GB, free: 17.07 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 9.368e-05/0.5196, allocations: 105.9 kB / 0.7278 GB, free: 16.97 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002681/0.5198, allocations: 302.3 kB / 0.7281 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5198, allocations: 0 / 0.7281 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.154e-05/0.5199, allocations: 117.7 kB / 0.7283 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.5201, allocations: 16.73 kB / 0.7283 GB, free: 16.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005476/0.5206, allocations: 372.3 kB / 0.7286 GB, free: 16.33 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.493e-05/0.5207, allocations: 98 kB / 0.7287 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.5208, allocations: 15.27 kB / 0.7287 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of SimCode: time 1.102e-06/0.5208, allocations: 0 / 0.7287 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of Templates: time 0.003806/0.5246, allocations: 1.78 MB / 0.7305 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 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9149680230766535] Failed to read output from testmodel.py, exit status != 0: 0.5304350759834051 0.540787495 0.024946970000000002 Calling exit ...