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.00116/0.00116, allocations: 84.44 kB / 19.91 MB, free: 4 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.001308/0.001308, allocations: 169.6 kB / 23.19 MB, free: 1.375 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.9229/0.9229, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.7267/0.7267, 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.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: 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.0008711/0.0008711, allocations: 71.89 kB / 0.6196 GB, free: 13.12 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.5501/0.551, allocations: 101.9 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004212/0.5552, allocations: 4.581 MB / 0.7236 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002614/0.5578, allocations: 2.391 MB / 0.7259 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.558, allocations: 34.91 kB / 0.726 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007427/0.5587, allocations: 409.5 kB / 0.7263 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0006217/0.5593, allocations: 466 kB / 0.7268 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.5598, allocations: 376.9 kB / 0.7271 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007052/0.5606, allocations: 0.9204 MB / 0.728 GB, free: 18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004158/0.561, allocations: 317.5 kB / 0.7284 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005042/0.5615, allocations: 0.4911 MB / 0.7288 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003584/0.5618, allocations: 351 kB / 0.7292 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.285e-05/0.5619, allocations: 37.78 kB / 0.7292 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.5623, allocations: 359 kB / 0.7295 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.5624, allocations: 192.3 kB / 0.7297 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.5626, allocations: 262 kB / 0.73 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008609/0.5635, allocations: 0.947 MB / 0.7309 GB, free: 16.83 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.5635, allocations: 0 / 0.7309 GB, free: 16.83 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5635, allocations: 0 / 0.7309 GB, free: 16.83 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.5635, allocations: 1.219 kB / 0.7309 GB, free: 16.83 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0009276/0.5644, allocations: 0.8844 MB / 0.7318 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.5645, allocations: 10.5 kB / 0.7318 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007533/0.5652, allocations: 206.7 kB / 0.732 GB, free: 16.15 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005075/0.5657, allocations: 483.8 kB / 0.7324 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.5658, allocations: 35.33 kB / 0.7325 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/0.5658, allocations: 41.81 kB / 0.7325 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007333/0.5666, allocations: 0.9786 MB / 0.7335 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.5666, allocations: 7.391 kB / 0.7335 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.5666, allocations: 24.23 kB / 0.7335 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-05/0.5667, allocations: 61.91 kB / 0.7336 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000584/0.5673, allocations: 0.57 MB / 0.7341 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.5694, allocations: 4.634 MB / 0.7386 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/0.5699, allocations: 436.3 kB / 0.7391 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.5701, allocations: 201.1 kB / 0.7392 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.5701, allocations: 7.469 kB / 0.7393 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.5701, allocations: 34.33 kB / 0.7393 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=32): time 2.054e-06/0.5701, allocations: 0 / 0.7393 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.001544/0.5717, allocations: 1.12 MB / 0.7404 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.677e-05/0.5717, allocations: 60.38 kB / 0.7404 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/0.572, allocations: 474.6 kB / 0.7409 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.5721, allocations: 31.53 kB / 0.7409 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.5722, allocations: 372.5 kB / 0.7413 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.999e-05/0.5723, allocations: 126.1 kB / 0.7414 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.877e-05/0.5724, allocations: 108.1 kB / 0.7415 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.5724, allocations: 363 kB / 0.7418 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.5727, allocations: 196.3 kB / 0.742 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.573, allocations: 454.3 kB / 0.7425 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005515/0.5735, allocations: 0.6889 MB / 0.7431 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5735, allocations: 3.281 kB / 0.7431 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008288/0.5743, allocations: 0.8133 MB / 0.7439 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.5744, allocations: 9.688 kB / 0.7439 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.5744, allocations: 8.344 kB / 0.7439 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003373/0.5747, allocations: 153.5 kB / 0.7441 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.575, allocations: 118.7 kB / 0.7442 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.5765, allocations: 3.973 MB / 0.7481 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.5766, allocations: 38.3 kB / 0.7481 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.5767, allocations: 31.78 kB / 0.7482 GB, free: 3.727 MB / 0.6355 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.0001541/0.5768, allocations: 204.5 kB / 0.7484 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.5769, allocations: 64.31 kB / 0.7484 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006294/0.5775, allocations: 0.5932 MB / 0.749 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5775, allocations: 1.969 kB / 0.749 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.5775, allocations: 0 / 0.749 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.5776, allocations: 90.89 kB / 0.7491 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.5777, allocations: 5.438 kB / 0.7491 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.5778, allocations: 18.14 kB / 0.7491 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.5778, allocations: 36.59 kB / 0.7491 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007543/0.5786, allocations: 0.6669 MB / 0.7498 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006334/0.5792, allocations: 0.8165 MB / 0.7506 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000184/0.5794, allocations: 175.6 kB / 0.7508 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002164/0.5796, allocations: 300.7 kB / 0.751 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of Backend: time 3.91e-07/0.5796, allocations: 0 / 0.751 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.5809, allocations: 0.9848 MB / 0.752 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of SimCode: time 0.001413/0.5823, allocations: 1.579 MB / 0.7535 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of Templates: time 0.01216/0.5944, allocations: 10.27 MB / 0.7636 GB, free: 13.09 MB / 0.6511 GB " [Timeout remaining time 659] 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: 4.520356526132673] Failed to read output from testmodel.py, exit status != 0: 0.6000362569466233 0.609728532 0.044172032 Calling exit ...