Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001271/0.001271, allocations: 78.02 kB / 19.17 MB, free: 2.516 MB / 14.72 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.001402/0.001402, allocations: 171.5 kB / 22.46 MB, free: 5.371 MB / 14.72 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 1.37/1.37, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 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 1.145/1.145, allocations: 154.7 MB / 413.9 MB, free: 5.16 MB / 382.1 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 178] 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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.6187 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.213e-05/3.404e-05, allocations: 7.172 kB / 0.6187 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006764/0.006798, allocations: 4.561 MB / 0.6232 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004425/0.01122, allocations: 2.385 MB / 0.6255 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000307/0.01153, allocations: 39.62 kB / 0.6256 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.01286, allocations: 400.9 kB / 0.6259 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.01397, allocations: 473.2 kB / 0.6264 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009046/0.01487, allocations: 374.8 kB / 0.6268 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001127/0.016, allocations: 0.9217 MB / 0.6277 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006266/0.01663, allocations: 322.4 kB / 0.628 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006983/0.01733, allocations: 482.7 kB / 0.6284 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004479/0.01777, allocations: 303.1 kB / 0.6287 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.937e-05/0.01784, allocations: 40 kB / 0.6288 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006283/0.01847, allocations: 367 kB / 0.6291 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.01868, allocations: 191.3 kB / 0.6293 GB, free: 9.715 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002501/0.01893, allocations: 215.4 kB / 0.6295 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.02003, allocations: 0.8955 MB / 0.6304 GB, free: 8.605 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.02004, allocations: 0 / 0.6304 GB, free: 8.605 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.913e-06/0.02004, allocations: 0 / 0.6304 GB, free: 8.605 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.02005, allocations: 0 / 0.6304 GB, free: 8.605 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00152/0.02157, allocations: 0.8935 MB / 0.6312 GB, free: 7.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.02161, allocations: 8.031 kB / 0.6312 GB, free: 7.672 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.02284, allocations: 212.2 kB / 0.6314 GB, free: 7.465 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008047/0.02364, allocations: 476 kB / 0.6319 GB, free: 6.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/0.02368, allocations: 29.38 kB / 0.6319 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.913e-05/0.02377, allocations: 56.34 kB / 0.632 GB, free: 6.898 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.02503, allocations: 0.9627 MB / 0.6329 GB, free: 5.773 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.02506, allocations: 8.125 kB / 0.6329 GB, free: 5.766 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.516e-05/0.02512, allocations: 24.36 kB / 0.633 GB, free: 5.742 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.02522, allocations: 72.89 kB / 0.633 GB, free: 5.668 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008691/0.02609, allocations: 0.5616 MB / 0.6336 GB, free: 5.109 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004309/0.0304, allocations: 4.611 MB / 0.6381 GB, free: 316 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006874/0.03109, allocations: 427.5 kB / 0.6385 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.0314, allocations: 204.7 kB / 0.6387 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.03143, allocations: 4.531 kB / 0.6387 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.03146, allocations: 30.56 kB / 0.6387 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.854e-06/0.03146, allocations: 4 kB / 0.6387 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002438/0.0339, allocations: 1.133 MB / 0.6398 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.03394, allocations: 55.69 kB / 0.6399 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000494/0.03444, allocations: 466.6 kB / 0.6403 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.03447, allocations: 33.7 kB / 0.6404 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.03472, allocations: 376.2 kB / 0.6407 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.03482, allocations: 123 kB / 0.6408 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.03497, allocations: 106.2 kB / 0.6409 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.03515, allocations: 366.7 kB / 0.6413 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.03545, allocations: 193.2 kB / 0.6415 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004887/0.03594, allocations: 451.3 kB / 0.6419 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008742/0.03682, allocations: 0.6849 MB / 0.6426 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.03682, allocations: 4 kB / 0.6426 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001323/0.03814, allocations: 0.8135 MB / 0.6434 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.03817, allocations: 8 kB / 0.6434 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.03818, allocations: 12 kB / 0.6434 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005201/0.0387, allocations: 160.8 kB / 0.6435 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/0.03916, allocations: 119.8 kB / 0.6436 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00353/0.04269, allocations: 3.961 MB / 0.6475 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.04307, allocations: 35.97 kB / 0.6475 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.04311, allocations: 28 kB / 0.6476 GB, free: 5.914 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002957/0.0434, allocations: 215.6 kB / 0.6478 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.99e-05/0.04349, allocations: 59.62 kB / 0.6478 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.04458, allocations: 0.5924 MB / 0.6484 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.04459, allocations: 4 kB / 0.6484 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.04459, allocations: 7.938 kB / 0.6484 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.0446, allocations: 3.984 kB / 0.6484 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.04637, allocations: 1.11 MB / 0.6495 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.04637, allocations: 7.938 kB / 0.6495 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.04662, allocations: 55.89 kB / 0.6496 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004254/0.04705, allocations: 140.1 kB / 0.6497 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.04707, allocations: 8 kB / 0.6497 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003301/0.05038, allocations: 3.946 MB / 0.6536 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.05038, allocations: 11.97 kB / 0.6536 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.05155, allocations: 0.7006 MB / 0.6543 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/0.05176, allocations: 87.58 kB / 0.6544 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.304e-05/0.05181, allocations: 8 kB / 0.6544 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.05205, allocations: 23.91 kB / 0.6544 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/0.05214, allocations: 36.05 kB / 0.6544 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.05216, allocations: 12 kB / 0.6544 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003635/0.05252, allocations: 302.9 kB / 0.6547 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.05252, allocations: 0 / 0.6547 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007514/0.05327, allocations: 144 kB / 0.6549 GB, free: 13.98 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001604/0.05343, allocations: 105.2 kB / 0.655 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001414/0.05485, allocations: 0.8549 MB / 0.6558 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.05485, allocations: 0 / 0.6558 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008656/0.05572, allocations: 0.5717 MB / 0.6563 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009624/0.05668, allocations: 201.7 kB / 0.6565 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.05843, allocations: 1.029 MB / 0.6575 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.05878, allocations: 315.3 kB / 0.6578 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003382/0.05912, allocations: 105 kB / 0.6579 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.051e-05/0.05921, allocations: 44.48 kB / 0.658 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of SimCode: time 3.9e-07/0.05921, allocations: 0 / 0.658 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of Templates: time 0.01483/0.07404, allocations: 7.829 MB / 0.6656 GB, free: 3.016 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.794158697128296] Failed to read output from testmodel.py, exit status != 0: 0.08362958207726479 0.09798034600000001 0.07501385 Calling exit ...