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.0007761/0.0007761, 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.0008/0.0008, 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.8499/0.8499, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.6956/0.6956, allocations: 154.6 MB / 414.5 MB, free: 0.8008 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.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.383e-06/1.383e-06, allocations: 0 / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.73e-05, allocations: 6 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00375/0.003768, allocations: 4.555 MB / 0.6238 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002097/0.005865, allocations: 2.385 MB / 0.6261 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.00603, allocations: 35.62 kB / 0.6261 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006283/0.006658, allocations: 408.6 kB / 0.6265 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000492/0.00715, allocations: 485.1 kB / 0.627 GB, free: 5.297 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.007517, allocations: 377.6 kB / 0.6274 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005534/0.00807, allocations: 0.9409 MB / 0.6283 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000329/0.008399, allocations: 326.4 kB / 0.6286 GB, free: 3.656 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005923/0.008991, allocations: 490.6 kB / 0.6291 GB, free: 3.176 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.009257, allocations: 299.1 kB / 0.6293 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.009295, allocations: 39.94 kB / 0.6294 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.009599, allocations: 370.9 kB / 0.6297 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.00972, allocations: 199.3 kB / 0.6299 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.009851, allocations: 211.4 kB / 0.6301 GB, free: 2.078 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006029/0.01045, allocations: 0.9033 MB / 0.631 GB, free: 1.172 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.01046, allocations: 0 / 0.631 GB, free: 1.172 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.133e-06/0.01046, allocations: 0 / 0.631 GB, free: 1.172 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.01046, allocations: 0 / 0.631 GB, free: 1.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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0008046/0.01127, allocations: 0.8741 MB / 0.6319 GB, free: 272 kB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.0113, allocations: 12.03 kB / 0.6319 GB, free: 260 kB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000616/0.01191, allocations: 212.2 kB / 0.6321 GB, free: 48 kB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/0.01239, allocations: 472.1 kB / 0.6325 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.01241, allocations: 41.3 kB / 0.6326 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/0.01246, allocations: 40.38 kB / 0.6326 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006728/0.01313, allocations: 0.9744 MB / 0.6336 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.01315, allocations: 12.12 kB / 0.6336 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.01318, allocations: 24.36 kB / 0.6336 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.525e-05/0.01324, allocations: 68.83 kB / 0.6337 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005014/0.01374, allocations: 0.5656 MB / 0.6342 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002415/0.01616, allocations: 4.615 MB / 0.6387 GB, free: 8.883 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003793/0.01654, allocations: 418.2 kB / 0.6391 GB, free: 8.465 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.01671, allocations: 204.7 kB / 0.6393 GB, free: 8.262 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.01673, allocations: 4 kB / 0.6393 GB, free: 8.258 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.01675, allocations: 38.56 kB / 0.6393 GB, free: 8.211 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 1.242e-06/0.01675, allocations: 0 / 0.6393 GB, free: 8.211 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001345/0.0181, allocations: 1.131 MB / 0.6405 GB, free: 7.059 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.01812, allocations: 59.69 kB / 0.6405 GB, free: 6.988 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.01839, allocations: 462.7 kB / 0.6409 GB, free: 6.527 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.01841, allocations: 29.7 kB / 0.641 GB, free: 6.492 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.01856, allocations: 376.2 kB / 0.6413 GB, free: 6.117 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.667e-05/0.01861, allocations: 123 kB / 0.6415 GB, free: 5.996 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.581e-05/0.0187, allocations: 114.2 kB / 0.6416 GB, free: 5.879 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.612e-05/0.01879, allocations: 362.7 kB / 0.6419 GB, free: 5.516 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.01896, allocations: 193.2 kB / 0.6421 GB, free: 5.324 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/0.01946, allocations: 451.3 kB / 0.6425 GB, free: 4.773 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004856/0.01994, allocations: 0.6927 MB / 0.6432 GB, free: 3.961 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.01995, allocations: 4 kB / 0.6432 GB, free: 3.957 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007116/0.02066, allocations: 0.8058 MB / 0.644 GB, free: 3.129 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.02067, allocations: 8 kB / 0.644 GB, free: 3.121 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.02068, allocations: 8 kB / 0.644 GB, free: 3.113 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002645/0.02094, allocations: 156.6 kB / 0.6442 GB, free: 2.945 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.02117, allocations: 123.8 kB / 0.6443 GB, free: 2.824 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.0229, allocations: 3.965 MB / 0.6481 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.02307, allocations: 39.97 kB / 0.6482 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.02309, allocations: 24 kB / 0.6482 GB, free: 14.49 MB / 0.6198 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.0001488/0.02324, allocations: 214.8 kB / 0.6484 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.02328, allocations: 59.62 kB / 0.6485 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005669/0.02385, allocations: 0.5924 MB / 0.649 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.02385, allocations: 7.984 kB / 0.6491 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.02386, allocations: 3.938 kB / 0.6491 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.02386, allocations: 3.984 kB / 0.6491 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.02505, allocations: 1.114 MB / 0.6501 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.02505, allocations: 7.938 kB / 0.6502 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.02517, allocations: 51.95 kB / 0.6502 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001972/0.02536, allocations: 140.1 kB / 0.6503 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.02538, allocations: 12 kB / 0.6504 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.02697, allocations: 3.942 MB / 0.6542 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.02698, allocations: 7.938 kB / 0.6542 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005492/0.02753, allocations: 0.7013 MB / 0.6549 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.02763, allocations: 87.58 kB / 0.655 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.02766, allocations: 11.94 kB / 0.655 GB, free: 7.066 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.02778, allocations: 27.91 kB / 0.655 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.02782, allocations: 31.89 kB / 0.655 GB, free: 7.008 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.02783, allocations: 8 kB / 0.6551 GB, free: 7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001801/0.02801, allocations: 311 kB / 0.6554 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02801, allocations: 0 / 0.6554 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003449/0.02835, allocations: 136 kB / 0.6555 GB, free: 6.566 MB / 0.6198 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 9.081e-05/0.02844, allocations: 111.2 kB / 0.6556 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009695/0.02941, allocations: 0.8508 MB / 0.6564 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02942, allocations: 4.125 kB / 0.6564 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003687/0.02978, allocations: 0.5758 MB / 0.657 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005164/0.0303, allocations: 194.2 kB / 0.6572 GB, free: 4.754 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009526/0.03125, allocations: 1.082 MB / 0.6582 GB, free: 3.613 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.03142, allocations: 307.4 kB / 0.6585 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.0315, allocations: 44.5 kB / 0.6586 GB, free: 3.242 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.0315, allocations: 0 / 0.6586 GB, free: 3.242 MB / 0.6198 GB Notification: Performance of Templates: time 0.01122/0.04272, allocations: 18.08 MB / 0.6762 GB, free: 1.223 MB / 0.6355 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: 6.73505689855665] Failed to read output from testmodel.py, exit status != 0: 0.26584336813539267 0.27173263000000003 0.259967762 Calling exit ...