Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.0008424/0.0008424, 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.001031/0.001031, allocations: 166.3 kB / 23.18 MB, free: 1.387 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.8771/0.8771, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.7006/0.7006, allocations: 154.7 MB / 414.7 MB, free: 0.7227 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.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [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.001056/0.001056, allocations: 70.17 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.4511/0.4522, allocations: 102 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003422/0.4556, allocations: 3.206 MB / 0.7222 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002409/0.458, allocations: 1.976 MB / 0.7242 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.4582, allocations: 11.78 kB / 0.7242 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006561/0.4588, allocations: 291.3 kB / 0.7245 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0004511/0.4593, allocations: 246.7 kB / 0.7247 GB, free: 20 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00062/0.4599, allocations: 289.2 kB / 0.725 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003784/0.4603, allocations: 418.2 kB / 0.7254 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002848/0.4606, allocations: 161.4 kB / 0.7255 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000289/0.4609, allocations: 227.8 kB / 0.7257 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.4612, allocations: 204.5 kB / 0.7259 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.4612, allocations: 27.81 kB / 0.726 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003996/0.4616, allocations: 245.1 kB / 0.7262 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.4617, allocations: 123.8 kB / 0.7263 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.4618, allocations: 120.3 kB / 0.7264 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005979/0.4624, allocations: 0.5293 MB / 0.7269 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4624, allocations: 0 / 0.7269 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.013e-06/0.4624, allocations: 0 / 0.7269 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.4624, allocations: 1.469 kB / 0.7269 GB, free: 19.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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.000745/0.4632, allocations: 0.5337 MB / 0.7275 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.4632, allocations: 10.28 kB / 0.7275 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006027/0.4638, allocations: 116.6 kB / 0.7276 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.4641, allocations: 230.2 kB / 0.7278 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.4641, allocations: 18.28 kB / 0.7278 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-05/0.4642, allocations: 40.64 kB / 0.7279 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005206/0.4647, allocations: 0.5206 MB / 0.7284 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.4647, allocations: 2 kB / 0.7284 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.4648, allocations: 10.39 kB / 0.7284 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.724e-05/0.4649, allocations: 41 kB / 0.7284 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004382/0.4653, allocations: 366.9 kB / 0.7288 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.4667, allocations: 1.588 MB / 0.7303 GB, free: 16.81 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.467, allocations: 244.3 kB / 0.7306 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.4671, allocations: 149 kB / 0.7307 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.4671, allocations: 3.438 kB / 0.7307 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.4671, allocations: 39.81 kB / 0.7307 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.4671, allocations: 1.344 kB / 0.7307 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.001263/0.4684, allocations: 0.9147 MB / 0.7316 GB, free: 16.15 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.901e-05/0.4684, allocations: 54.22 kB / 0.7317 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.4686, allocations: 244.6 kB / 0.7319 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.4686, allocations: 31.02 kB / 0.7319 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.125e-05/0.4687, allocations: 185.2 kB / 0.7321 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.4688, allocations: 97.27 kB / 0.7322 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.517e-05/0.4689, allocations: 74.14 kB / 0.7323 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.163e-05/0.4689, allocations: 335.1 kB / 0.7326 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.4691, allocations: 157 kB / 0.7328 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.4693, allocations: 249.9 kB / 0.733 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.4697, allocations: 407.9 kB / 0.7334 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4697, allocations: 0 / 0.7334 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007885/0.4705, allocations: 0.5971 MB / 0.734 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.4705, allocations: 6.25 kB / 0.734 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4705, allocations: 4.266 kB / 0.734 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004321/0.4709, allocations: 183.7 kB / 0.7342 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.4711, allocations: 74.66 kB / 0.7342 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.4729, allocations: 2.344 MB / 0.7365 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.4731, allocations: 29.66 kB / 0.7365 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.4732, allocations: 12.23 kB / 0.7366 GB, free: 12.91 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.4733, allocations: 173.5 kB / 0.7367 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.4733, allocations: 27.05 kB / 0.7367 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003853/0.4737, allocations: 354.3 kB / 0.7371 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4737, allocations: 7.172 kB / 0.7371 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.4737, allocations: 0 / 0.7371 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4737, allocations: 1.453 kB / 0.7371 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000703/0.4744, allocations: 0.7021 MB / 0.7378 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4744, allocations: 4.641 kB / 0.7378 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.4747, allocations: 74.23 kB / 0.7379 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4747, allocations: 5.125 kB / 0.7379 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.4747, allocations: 8.562 kB / 0.7379 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.4747, allocations: 1.703 kB / 0.7379 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4747, allocations: 1.156 kB / 0.7379 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005121/0.4752, allocations: 0.6101 MB / 0.7385 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.392e-05/0.4753, allocations: 51.88 kB / 0.7385 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.4753, allocations: 4.781 kB / 0.7385 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.4754, allocations: 14.67 kB / 0.7385 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.4755, allocations: 22.16 kB / 0.7386 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.4755, allocations: 10.05 kB / 0.7386 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000129/0.4756, allocations: 175.1 kB / 0.7387 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4756, allocations: 0 / 0.7387 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003514/0.476, allocations: 90.64 kB / 0.7388 GB, free: 11.67 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001278/0.4761, allocations: 103.3 kB / 0.7389 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006725/0.4768, allocations: 0.5134 MB / 0.7394 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4768, allocations: 5.344 kB / 0.7394 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.4769, allocations: 135.6 kB / 0.7395 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.4772, allocations: 62.25 kB / 0.7396 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.4783, allocations: 0.8741 MB / 0.7405 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.4784, allocations: 192.6 kB / 0.7406 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.938e-05/0.4785, allocations: 31.34 kB / 0.7407 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of SimCode: time 6.92e-07/0.4785, allocations: 3.938 kB / 0.7407 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of Templates: time 0.006411/0.4849, allocations: 4.633 MB / 0.7452 GB, free: 10.24 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.841332053998485] Failed to read output from testmodel.py, exit status != 0: 0.49120694515295327 0.49938495000000005 0.035141966000000004 Calling exit ...