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.001258/0.001258, allocations: 76.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.001392/0.001392, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9459/0.9459, allocations: 177.2 MB / 203.6 MB, free: 5.758 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.7191/0.7191, allocations: 154.7 MB / 414.7 MB, free: 0.7422 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.001078/0.001078, allocations: 71.89 kB / 0.6195 GB, free: 12.95 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.5385/0.5396, allocations: 101.9 MB / 0.7191 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003548/0.5431, allocations: 3.211 MB / 0.7222 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002433/0.5456, allocations: 1.983 MB / 0.7242 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.937e-05/0.5457, allocations: 8.469 kB / 0.7242 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004661/0.5461, allocations: 290.8 kB / 0.7245 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003116/0.5465, allocations: 246.6 kB / 0.7247 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.5469, allocations: 288.6 kB / 0.725 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003707/0.5472, allocations: 414.1 kB / 0.7254 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002679/0.5475, allocations: 165.4 kB / 0.7255 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002978/0.5478, allocations: 231.8 kB / 0.7257 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.5481, allocations: 196.9 kB / 0.7259 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.894e-05/0.5481, allocations: 23.69 kB / 0.726 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003253/0.5485, allocations: 252.5 kB / 0.7262 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.5486, allocations: 124.4 kB / 0.7263 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.5487, allocations: 123.7 kB / 0.7264 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005327/0.5493, allocations: 497.8 kB / 0.7269 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5493, allocations: 0 / 0.7269 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5493, allocations: 0 / 0.7269 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.5493, allocations: 3.938 kB / 0.7269 GB, free: 19.18 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.0006172/0.5499, allocations: 0.5343 MB / 0.7274 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.5499, allocations: 14.19 kB / 0.7274 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005731/0.5505, allocations: 116.6 kB / 0.7276 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.5507, allocations: 221.9 kB / 0.7278 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.5507, allocations: 22.38 kB / 0.7278 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.348e-05/0.5508, allocations: 40.28 kB / 0.7278 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005296/0.5513, allocations: 0.5249 MB / 0.7283 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.5514, allocations: 4.938 kB / 0.7283 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.5514, allocations: 11.86 kB / 0.7284 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-05/0.5515, allocations: 39.86 kB / 0.7284 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.5519, allocations: 359.6 kB / 0.7287 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.5532, allocations: 1.596 MB / 0.7303 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.5535, allocations: 240.4 kB / 0.7305 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.5537, allocations: 145.7 kB / 0.7307 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.5537, allocations: 1.812 kB / 0.7307 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.5537, allocations: 36.38 kB / 0.7307 GB, free: 16.72 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=22): time 1.022e-06/0.5537, allocations: 1.844 kB / 0.7307 GB, free: 16.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.001191/0.5549, allocations: 0.9114 MB / 0.7316 GB, free: 16.26 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.59e-05/0.5549, allocations: 54.16 kB / 0.7316 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.5551, allocations: 252.8 kB / 0.7319 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.5551, allocations: 31.08 kB / 0.7319 GB, free: 16.01 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/0.5552, allocations: 184.3 kB / 0.7321 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.5552, allocations: 94.58 kB / 0.7322 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.608e-05/0.5553, allocations: 77.25 kB / 0.7323 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.163e-05/0.5554, allocations: 330.8 kB / 0.7326 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.5556, allocations: 160.1 kB / 0.7327 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.5558, allocations: 243.4 kB / 0.733 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.5562, allocations: 410.2 kB / 0.7333 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5562, allocations: 1.125 kB / 0.7333 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000796/0.557, allocations: 0.5983 MB / 0.7339 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.557, allocations: 9.781 kB / 0.7339 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.557, allocations: 3.938 kB / 0.7339 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004267/0.5574, allocations: 191.5 kB / 0.7341 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.5576, allocations: 63 kB / 0.7342 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/0.5594, allocations: 2.342 MB / 0.7365 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.5596, allocations: 23.59 kB / 0.7365 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.5596, allocations: 16.52 kB / 0.7365 GB, free: 13.02 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.0001037/0.5597, allocations: 164.6 kB / 0.7367 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.5598, allocations: 30.8 kB / 0.7367 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003823/0.5602, allocations: 362.4 kB / 0.737 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.5602, allocations: 2.734 kB / 0.737 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.5602, allocations: 3.938 kB / 0.737 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5602, allocations: 2.562 kB / 0.7371 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006826/0.5608, allocations: 0.6979 MB / 0.7377 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5609, allocations: 3.938 kB / 0.7377 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.5611, allocations: 77.88 kB / 0.7378 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5611, allocations: 2.188 kB / 0.7378 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.5611, allocations: 4.172 kB / 0.7378 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5611, allocations: 5.438 kB / 0.7378 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5611, allocations: 1.594 kB / 0.7378 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005234/0.5616, allocations: 0.6144 MB / 0.7384 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.586e-05/0.5617, allocations: 51.47 kB / 0.7385 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.5617, allocations: 8.875 kB / 0.7385 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.5619, allocations: 15.23 kB / 0.7385 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.5619, allocations: 13.36 kB / 0.7385 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.5619, allocations: 9.562 kB / 0.7385 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001313/0.5621, allocations: 175.7 kB / 0.7387 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5621, allocations: 4.969 kB / 0.7387 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002854/0.5624, allocations: 85.53 kB / 0.7388 GB, free: 11.79 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 9.606e-05/0.5624, allocations: 110.4 kB / 0.7389 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006139/0.5631, allocations: 0.511 MB / 0.7394 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5631, allocations: 0 / 0.7394 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.5632, allocations: 142.8 kB / 0.7395 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.5635, allocations: 50.62 kB / 0.7396 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009489/0.5644, allocations: 0.8356 MB / 0.7404 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.5646, allocations: 193.1 kB / 0.7406 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001538/0.5647, allocations: 80.97 kB / 0.7406 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.5648, allocations: 24.48 kB / 0.7407 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of SimCode: time 4.21e-07/0.5648, allocations: 0 / 0.7407 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of Templates: time 0.007019/0.5718, allocations: 4.179 MB / 0.7447 GB, free: 10.32 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.481946579995565] Failed to read output from testmodel.py, exit status != 0: 0.5780665380880237 0.592727872 0.040606349 Calling exit ...