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.0007358/0.0007358, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007793/0.0007793, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8542/0.8542, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.7053/0.7053, allocations: 154.6 MB / 414.5 MB, free: 0.8164 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: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.284e-05, allocations: 5.234 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00321/0.003232, allocations: 3.195 MB / 0.6224 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002222/0.005454, allocations: 1.975 MB / 0.6244 GB, free: 8 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.0056, allocations: 7.938 kB / 0.6244 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006082/0.006209, allocations: 294.7 kB / 0.6247 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000431/0.00664, allocations: 242.6 kB / 0.6249 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005133/0.007153, allocations: 289.6 kB / 0.6252 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003863/0.007539, allocations: 434.5 kB / 0.6256 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002846/0.007824, allocations: 172.2 kB / 0.6258 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.008096, allocations: 227.4 kB / 0.626 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000516/0.008612, allocations: 187.5 kB / 0.6261 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/0.008646, allocations: 27.94 kB / 0.6262 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.008955, allocations: 239.4 kB / 0.6264 GB, free: 5.918 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.009061, allocations: 131.6 kB / 0.6265 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.158e-05/0.009142, allocations: 103.7 kB / 0.6266 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004902/0.009632, allocations: 0.5102 MB / 0.6271 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.009636, allocations: 0 / 0.6271 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.333e-06/0.009637, allocations: 0 / 0.6271 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.009644, allocations: 4 kB / 0.6271 GB, free: 5.172 MB / 0.5886 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.0007713/0.01041, allocations: 0.5245 MB / 0.6276 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.01045, allocations: 11.97 kB / 0.6277 GB, free: 4.605 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005596/0.01101, allocations: 120.6 kB / 0.6278 GB, free: 4.488 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.01129, allocations: 219 kB / 0.628 GB, free: 4.246 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.01131, allocations: 16.86 kB / 0.628 GB, free: 4.23 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.305e-05/0.0114, allocations: 36.7 kB / 0.628 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.01191, allocations: 0.5186 MB / 0.6285 GB, free: 3.629 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.01193, allocations: 8.109 kB / 0.6285 GB, free: 3.621 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.01196, allocations: 15.94 kB / 0.6286 GB, free: 3.605 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.381e-05/0.01204, allocations: 40.47 kB / 0.6286 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004014/0.01244, allocations: 361.7 kB / 0.6289 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.01387, allocations: 1.578 MB / 0.6305 GB, free: 1.566 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.01416, allocations: 246.4 kB / 0.6307 GB, free: 1.316 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.0143, allocations: 144.8 kB / 0.6309 GB, free: 1.172 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.01431, allocations: 4 kB / 0.6309 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.01434, allocations: 38.55 kB / 0.6309 GB, free: 1.121 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=22): time 2.014e-06/0.01434, allocations: 0 / 0.6309 GB, free: 1.121 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.001176/0.01552, allocations: 0.9137 MB / 0.6318 GB, free: 184 kB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.01554, allocations: 63.28 kB / 0.6318 GB, free: 108 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.01575, allocations: 240.6 kB / 0.6321 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.01577, allocations: 29.7 kB / 0.6321 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.384e-05/0.01585, allocations: 192.3 kB / 0.6323 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.0159, allocations: 91.25 kB / 0.6324 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.734e-05/0.01599, allocations: 73.64 kB / 0.6324 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.048e-05/0.01607, allocations: 334.8 kB / 0.6328 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.01624, allocations: 159.9 kB / 0.6329 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000459/0.0167, allocations: 243 kB / 0.6331 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.01707, allocations: 411.4 kB / 0.6335 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01708, allocations: 7.938 kB / 0.6335 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007387/0.01781, allocations: 0.5942 MB / 0.6341 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.01783, allocations: 8 kB / 0.6341 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.01784, allocations: 0 / 0.6341 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003964/0.01823, allocations: 192.8 kB / 0.6343 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.01841, allocations: 63.89 kB / 0.6344 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.02025, allocations: 2.342 MB / 0.6367 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.02044, allocations: 27.97 kB / 0.6367 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.02046, allocations: 16.06 kB / 0.6367 GB, free: 10.91 MB / 0.6042 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.0001239/0.02058, allocations: 166.7 kB / 0.6369 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.02061, allocations: 19.86 kB / 0.6369 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003571/0.02097, allocations: 355.3 kB / 0.6372 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.02097, allocations: 0 / 0.6372 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.02097, allocations: 7.938 kB / 0.6372 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.02098, allocations: 3.984 kB / 0.6372 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006565/0.02163, allocations: 0.691 MB / 0.6379 GB, free: 9.621 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.02164, allocations: 8.062 kB / 0.6379 GB, free: 9.613 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.02184, allocations: 75.88 kB / 0.638 GB, free: 9.539 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.02185, allocations: 0 / 0.638 GB, free: 9.539 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.02186, allocations: 11.94 kB / 0.638 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.02186, allocations: 4 kB / 0.638 GB, free: 9.523 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02186, allocations: 0 / 0.638 GB, free: 9.523 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000494/0.02236, allocations: 0.6058 MB / 0.6386 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.997e-05/0.02244, allocations: 63.8 kB / 0.6387 GB, free: 8.836 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.02246, allocations: 8.094 kB / 0.6387 GB, free: 8.828 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.02258, allocations: 23.92 kB / 0.6387 GB, free: 8.805 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.0226, allocations: 15.95 kB / 0.6387 GB, free: 8.789 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.02262, allocations: 12 kB / 0.6387 GB, free: 8.777 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001283/0.02274, allocations: 176.1 kB / 0.6389 GB, free: 8.605 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.02274, allocations: 0 / 0.6389 GB, free: 8.605 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002879/0.02303, allocations: 91.94 kB / 0.639 GB, free: 8.516 MB / 0.6042 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.0001271/0.02316, allocations: 107.2 kB / 0.6391 GB, free: 8.402 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006134/0.02377, allocations: 0.506 MB / 0.6396 GB, free: 7.883 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.02378, allocations: 0 / 0.6396 GB, free: 7.883 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.02391, allocations: 143.8 kB / 0.6397 GB, free: 7.742 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.0242, allocations: 57.39 kB / 0.6398 GB, free: 7.691 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.02538, allocations: 0.7827 MB / 0.6405 GB, free: 6.879 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.02551, allocations: 189.7 kB / 0.6407 GB, free: 6.672 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.798e-05/0.02559, allocations: 32.48 kB / 0.6407 GB, free: 6.641 MB / 0.6042 GB Notification: Performance of SimCode: time 6.41e-07/0.02559, allocations: 0 / 0.6407 GB, free: 6.641 MB / 0.6042 GB Notification: Performance of Templates: time 0.004878/0.03047, allocations: 4.646 MB / 0.6453 GB, free: 1.996 MB / 0.6042 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.356099774129689] Failed to read output from testmodel.py, exit status != 0: 0.03616839274764061 0.044259256000000004 0.033010248 Calling exit ...