Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.0007313/0.0007313, allocations: 100.4 kB / 19.7 MB, free: 448 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.0007925/0.0007925, allocations: 216.9 kB / 23 MB, free: 2.988 MB / 13.93 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.8687/0.8687, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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.7512/0.7512, allocations: 203.5 MB / 0.5046 GB, free: 10.69 MB / 410.7 MB " [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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [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.0009064/0.0009064, allocations: 62.88 kB / 0.719 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4617/0.4626, allocations: 102 MB / 0.8186 GB, free: 1.488 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003711/0.4663, allocations: 3.613 MB / 0.8221 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00231/0.4686, allocations: 1.77 MB / 0.8239 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000222/0.4689, allocations: 25.41 kB / 0.8239 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006827/0.4695, allocations: 266.5 kB / 0.8241 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005293/0.4701, allocations: 304 kB / 0.8244 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.4705, allocations: 258.1 kB / 0.8247 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005691/0.4711, allocations: 0.6022 MB / 0.8253 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003784/0.4715, allocations: 231.1 kB / 0.8255 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003544/0.4718, allocations: 252.2 kB / 0.8257 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002723/0.4721, allocations: 228.2 kB / 0.8259 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.4721, allocations: 26.19 kB / 0.826 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.4725, allocations: 246.9 kB / 0.8262 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.4726, allocations: 132.9 kB / 0.8263 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.4728, allocations: 166.3 kB / 0.8265 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006059/0.4734, allocations: 0.5961 MB / 0.8271 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.4734, allocations: 3.938 kB / 0.8271 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4734, allocations: 0 / 0.8271 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.4734, allocations: 1.844 kB / 0.8271 GB, free: 12.48 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009448/0.4743, allocations: 0.6813 MB / 0.8277 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.4744, allocations: 10.25 kB / 0.8277 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006204/0.475, allocations: 136.1 kB / 0.8279 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.4755, allocations: 338.2 kB / 0.8282 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.4755, allocations: 24.77 kB / 0.8282 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/0.4756, allocations: 31 kB / 0.8283 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006798/0.4763, allocations: 0.6288 MB / 0.8289 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.4763, allocations: 9.359 kB / 0.8289 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.4763, allocations: 13.78 kB / 0.8289 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.703e-05/0.4764, allocations: 41.89 kB / 0.8289 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005117/0.4769, allocations: 406.6 kB / 0.8293 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002202/0.4791, allocations: 2.685 MB / 0.8319 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/0.4797, allocations: 313.7 kB / 0.8322 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.4799, allocations: 157.2 kB / 0.8324 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.48, allocations: 3.719 kB / 0.8324 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.48, allocations: 36.45 kB / 0.8324 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 2.405e-06/0.48, allocations: 1.062 kB / 0.8324 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001434/0.4814, allocations: 0.8441 MB / 0.8333 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.4815, allocations: 54.98 kB / 0.8333 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.4818, allocations: 332.7 kB / 0.8336 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.4818, allocations: 26.61 kB / 0.8336 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.4819, allocations: 254.9 kB / 0.8339 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/0.482, allocations: 104.5 kB / 0.834 GB, free: 7.684 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.467e-05/0.4821, allocations: 78.42 kB / 0.8341 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.4822, allocations: 345.7 kB / 0.8344 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.4824, allocations: 147.6 kB / 0.8345 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.4826, allocations: 293.4 kB / 0.8348 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/0.4831, allocations: 484.2 kB / 0.8353 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4831, allocations: 1.344 kB / 0.8353 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006618/0.4838, allocations: 0.5571 MB / 0.8358 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.4838, allocations: 8.422 kB / 0.8358 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.4838, allocations: 3.062 kB / 0.8358 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002167/0.484, allocations: 93.78 kB / 0.8359 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.4842, allocations: 94.97 kB / 0.836 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.4842, allocations: 8.453 kB / 0.836 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.4844, allocations: 30.12 kB / 0.8361 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.4844, allocations: 22.19 kB / 0.8361 GB, free: 6.402 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001572/0.4845, allocations: 173.9 kB / 0.8362 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.4846, allocations: 43.19 kB / 0.8363 GB, free: 6.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000606/0.4852, allocations: 470.2 kB / 0.8367 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.4852, allocations: 4.234 kB / 0.8367 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.4852, allocations: 5.219 kB / 0.8367 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.4852, allocations: 1.594 kB / 0.8367 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.4862, allocations: 0.8364 MB / 0.8376 GB, free: 5.539 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4862, allocations: 1.828 kB / 0.8376 GB, free: 5.539 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.4864, allocations: 49.7 kB / 0.8376 GB, free: 5.535 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001557/0.4865, allocations: 83.64 kB / 0.8377 GB, free: 5.496 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.4865, allocations: 10.06 kB / 0.8377 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.4865, allocations: 2.781 kB / 0.8377 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.4866, allocations: 1.188 kB / 0.8377 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005788/0.4871, allocations: 0.5462 MB / 0.8382 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.4872, allocations: 57.34 kB / 0.8383 GB, free: 5.145 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.4873, allocations: 15.84 kB / 0.8383 GB, free: 5.133 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.4874, allocations: 20.94 kB / 0.8383 GB, free: 5.129 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.4874, allocations: 29.42 kB / 0.8383 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.4875, allocations: 5.938 kB / 0.8384 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001824/0.4876, allocations: 221.7 kB / 0.8386 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4876, allocations: 0 / 0.8386 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003206/0.488, allocations: 88.47 kB / 0.8386 GB, free: 4.992 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001119/0.4881, allocations: 113 kB / 0.8388 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006241/0.4887, allocations: 396.2 kB / 0.8391 GB, free: 4.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4887, allocations: 0 / 0.8391 GB, free: 4.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.489, allocations: 203.5 kB / 0.8393 GB, free: 4.664 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.4895, allocations: 122.4 kB / 0.8394 GB, free: 4.625 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009736/0.4904, allocations: 0.7654 MB / 0.8402 GB, free: 4.168 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.4906, allocations: 220.8 kB / 0.8404 GB, free: 4.078 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.464e-05/0.4907, allocations: 31.61 kB / 0.8404 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of SimCode: time 7.31e-07/0.4907, allocations: 0 / 0.8404 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of Templates: time 0.01029/0.501, allocations: 9.57 MB / 0.8498 GB, free: 15.24 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.831781839951873] Failed to read output from testmodel.py, exit status != 0: 0.5066295652650297 0.516617457 0.041270216000000005 Calling exit ...