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.001103/0.001103, 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.001356/0.001356, 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.9323/0.9323, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7357/0.7357, allocations: 154.7 MB / 414.7 MB, free: 0.7578 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.000906/0.000906, allocations: 67.91 kB / 0.6195 GB, free: 13.13 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.5265/0.5274, allocations: 101.9 MB / 0.7191 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003901/0.5313, allocations: 3.214 MB / 0.7222 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002659/0.534, allocations: 1.979 MB / 0.7242 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.5341, allocations: 12.22 kB / 0.7242 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006539/0.5348, allocations: 287.3 kB / 0.7245 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003525/0.5351, allocations: 244.8 kB / 0.7247 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.5356, allocations: 287.6 kB / 0.725 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003731/0.5359, allocations: 414.7 kB / 0.7254 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.5363, allocations: 169.6 kB / 0.7255 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003239/0.5366, allocations: 226.9 kB / 0.7257 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.5369, allocations: 200.5 kB / 0.7259 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.537, allocations: 23.66 kB / 0.7259 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003306/0.5373, allocations: 249.4 kB / 0.7262 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.5374, allocations: 124.4 kB / 0.7263 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.5375, allocations: 119.8 kB / 0.7264 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006596/0.5382, allocations: 0.4889 MB / 0.7269 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5382, allocations: 1.312 kB / 0.7269 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5382, allocations: 0 / 0.7269 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.5382, allocations: 3.938 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.0007706/0.539, allocations: 0.543 MB / 0.7274 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.539, allocations: 9.688 kB / 0.7274 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006186/0.5396, allocations: 116.1 kB / 0.7276 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.5399, allocations: 222.2 kB / 0.7278 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.5399, allocations: 18.08 kB / 0.7278 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.209e-05/0.54, allocations: 39.17 kB / 0.7278 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005798/0.5406, allocations: 0.5257 MB / 0.7283 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.5406, allocations: 1.094 kB / 0.7283 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.5406, allocations: 7.719 kB / 0.7283 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.904e-05/0.5407, allocations: 43.08 kB / 0.7284 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004826/0.5412, allocations: 368.8 kB / 0.7287 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.5427, allocations: 1.588 MB / 0.7303 GB, free: 16.81 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.543, allocations: 240.8 kB / 0.7305 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.5432, allocations: 153.2 kB / 0.7307 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.5432, allocations: 2.719 kB / 0.7307 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.5432, allocations: 36.7 kB / 0.7307 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.5432, allocations: 0 / 0.7307 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.001256/0.5445, allocations: 0.915 MB / 0.7316 GB, free: 16.15 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.5445, allocations: 58.67 kB / 0.7316 GB, free: 16.08 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.5447, allocations: 249.1 kB / 0.7319 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.5448, allocations: 26.92 kB / 0.7319 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.452e-05/0.5448, allocations: 188 kB / 0.7321 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.258e-05/0.5449, allocations: 94.48 kB / 0.7322 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.545, allocations: 77.31 kB / 0.7323 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.959e-05/0.5451, allocations: 336.1 kB / 0.7326 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.5453, allocations: 156.4 kB / 0.7327 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.5455, allocations: 246.8 kB / 0.733 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.546, allocations: 410.8 kB / 0.7333 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.546, allocations: 1.219 kB / 0.7334 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000904/0.5469, allocations: 0.596 MB / 0.7339 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.5469, allocations: 7.359 kB / 0.7339 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.5469, allocations: 2.594 kB / 0.7339 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004569/0.5474, allocations: 188.1 kB / 0.7341 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.5476, allocations: 62.53 kB / 0.7342 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/0.5496, allocations: 2.348 MB / 0.7365 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.5498, allocations: 24.34 kB / 0.7365 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.5499, allocations: 16.14 kB / 0.7365 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.0001311/0.55, allocations: 168.2 kB / 0.7367 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.55, allocations: 30.83 kB / 0.7367 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004376/0.5505, allocations: 354.1 kB / 0.737 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.5505, allocations: 7.531 kB / 0.737 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.5505, allocations: 0 / 0.737 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.5505, allocations: 1.641 kB / 0.737 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007184/0.5512, allocations: 0.7023 MB / 0.7377 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5512, allocations: 3.938 kB / 0.7377 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.5514, allocations: 70.03 kB / 0.7378 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.5514, allocations: 6.406 kB / 0.7378 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.5514, allocations: 7.688 kB / 0.7378 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.5515, allocations: 5.703 kB / 0.7378 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5515, allocations: 5.594 kB / 0.7378 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000553/0.552, allocations: 0.6091 MB / 0.7384 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.352e-05/0.5521, allocations: 52.27 kB / 0.7385 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.5521, allocations: 8.688 kB / 0.7385 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.5522, allocations: 11.8 kB / 0.7385 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.5523, allocations: 16.8 kB / 0.7385 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.5523, allocations: 5.438 kB / 0.7385 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001548/0.5524, allocations: 185.3 kB / 0.7387 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5524, allocations: 0 / 0.7387 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000292/0.5527, allocations: 89.81 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.0001124/0.5528, allocations: 107 kB / 0.7389 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007385/0.5536, allocations: 0.5147 MB / 0.7394 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5536, allocations: 0 / 0.7394 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.5537, allocations: 139.2 kB / 0.7395 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.5541, allocations: 49.05 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.001174/0.5552, allocations: 0.8328 MB / 0.7404 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.5554, allocations: 192.8 kB / 0.7406 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001703/0.5556, allocations: 85.09 kB / 0.7406 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.5557, allocations: 23.47 kB / 0.7407 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of SimCode: time 6.92e-07/0.5557, allocations: 3.938 kB / 0.7407 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of Templates: time 0.007454/0.5631, allocations: 4.176 MB / 0.7447 GB, free: 10.21 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.530478518921882] Failed to read output from testmodel.py, exit status != 0: 0.5683630879502743 0.5775092709999999 0.037517362000000005 Calling exit ...