Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001292/0.001292, allocations: 105 kB / 20.48 MB, free: 1.488 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.001447/0.001447, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.535/1.535, allocations: 230.6 MB / 257.6 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.009/1.009, allocations: 150 MB / 464 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.003154/0.003154, allocations: 56.94 kB / 0.642 GB, free: 10.42 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2059, allocations: 89.18 MB / 0.7291 GB, free: 1.309 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.008219/0.2142, allocations: 4.988 MB / 0.734 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004954/0.2191, allocations: 2.568 MB / 0.7365 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008546/0.22, allocations: 31.69 kB / 0.7365 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.2218, allocations: 425.8 kB / 0.7369 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.2234, allocations: 469.7 kB / 0.7374 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.2246, allocations: 386.5 kB / 0.7378 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001651/0.2262, allocations: 0.91 MB / 0.7386 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007866/0.227, allocations: 322.6 kB / 0.739 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007595/0.2278, allocations: 354.6 kB / 0.7393 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007523/0.2285, allocations: 366.4 kB / 0.7396 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.2287, allocations: 40 kB / 0.7397 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009547/0.2296, allocations: 411.1 kB / 0.7401 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00028/0.2299, allocations: 187.3 kB / 0.7402 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005026/0.2304, allocations: 322.2 kB / 0.7406 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.2319, allocations: 0.887 MB / 0.7414 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.2319, allocations: 4 kB / 0.7414 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2319, allocations: 0 / 0.7414 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.426e-05/0.2319, allocations: 0 / 0.7414 GB, free: 4.656 MB / 0.5606 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.001954/0.2339, allocations: 0.8819 MB / 0.7423 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.2339, allocations: 8.031 kB / 0.7423 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.338e-05/0.234, allocations: 21.12 kB / 0.7423 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001369/0.2341, allocations: 90.69 kB / 0.7424 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.2355, allocations: 208.2 kB / 0.7426 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.2365, allocations: 468.8 kB / 0.743 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.2366, allocations: 37.38 kB / 0.7431 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.2367, allocations: 52.3 kB / 0.7431 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.238, allocations: 0.8444 MB / 0.744 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.238, allocations: 7.938 kB / 0.744 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.226e-05/0.2381, allocations: 23.98 kB / 0.744 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001082/0.2382, allocations: 68.89 kB / 0.7441 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.2392, allocations: 0.5656 MB / 0.7446 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005874/0.2451, allocations: 5.578 MB / 0.7501 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007334/0.2458, allocations: 426.2 kB / 0.7505 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.2461, allocations: 208.7 kB / 0.7507 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.2462, allocations: 0 / 0.7507 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.2462, allocations: 38.56 kB / 0.7507 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 2.004e-06/0.2462, allocations: 0 / 0.7507 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002718/0.2489, allocations: 1.132 MB / 0.7518 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.249, allocations: 55.69 kB / 0.7519 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006201/0.2496, allocations: 0.4911 MB / 0.7523 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.2496, allocations: 33.7 kB / 0.7524 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.2499, allocations: 363.8 kB / 0.7527 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.25, allocations: 123 kB / 0.7528 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.2502, allocations: 106.2 kB / 0.7529 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002013/0.2504, allocations: 362.8 kB / 0.7533 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.2507, allocations: 201.2 kB / 0.7535 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/0.2512, allocations: 451.2 kB / 0.7539 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009845/0.2522, allocations: 0.6915 MB / 0.7546 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.2522, allocations: 4 kB / 0.7546 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001547/0.2538, allocations: 0.8099 MB / 0.7554 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.2538, allocations: 8 kB / 0.7554 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.2538, allocations: 15.94 kB / 0.7554 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005527/0.2544, allocations: 148.1 kB / 0.7555 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005178/0.2549, allocations: 123.8 kB / 0.7557 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004018/0.2589, allocations: 4.046 MB / 0.7596 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000543/0.2595, allocations: 39.97 kB / 0.7596 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.391e-05/0.2595, allocations: 24 kB / 0.7597 GB, free: 0.6797 MB / 0.5762 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.0004082/0.2599, allocations: 217.5 kB / 0.7599 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.2601, allocations: 63.62 kB / 0.7599 GB, free: 404 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4313/0.6914, allocations: 0.5939 MB / 0.7605 GB, free: 34.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.6914, allocations: 4.406 kB / 0.7605 GB, free: 34.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.6914, allocations: 1.5 kB / 0.7605 GB, free: 34.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.6914, allocations: 3.234 kB / 0.7605 GB, free: 34.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.6932, allocations: 1.227 MB / 0.7617 GB, free: 33.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6932, allocations: 0.75 kB / 0.7617 GB, free: 33.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.6934, allocations: 56.39 kB / 0.7618 GB, free: 33.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003618/0.6938, allocations: 143.2 kB / 0.7619 GB, free: 33.85 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.6938, allocations: 9.047 kB / 0.7619 GB, free: 33.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/0.696, allocations: 4.028 MB / 0.7659 GB, free: 30.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.696, allocations: 4.781 kB / 0.7659 GB, free: 30.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009117/0.6969, allocations: 0.7105 MB / 0.7665 GB, free: 30 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002027/0.6971, allocations: 92.56 kB / 0.7666 GB, free: 30 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.035e-05/0.6972, allocations: 12.53 kB / 0.7666 GB, free: 30 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.6974, allocations: 25.75 kB / 0.7667 GB, free: 30 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.6975, allocations: 32.83 kB / 0.7667 GB, free: 30 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.6975, allocations: 15.5 kB / 0.7667 GB, free: 30 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003096/0.6978, allocations: 332 kB / 0.767 GB, free: 29.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.6978, allocations: 0.625 kB / 0.767 GB, free: 29.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006365/0.6984, allocations: 145.9 kB / 0.7672 GB, free: 29.91 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.001103/0.6996, allocations: 1.257 MB / 0.7684 GB, free: 29.14 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001353/0.7009, allocations: 0.8603 MB / 0.7692 GB, free: 28.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.7009, allocations: 0 / 0.7692 GB, free: 28.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006903/0.7016, allocations: 0.5753 MB / 0.7698 GB, free: 28.44 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.7026, allocations: 210.4 kB / 0.77 GB, free: 28.44 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006702/0.7093, allocations: 5.113 MB / 0.775 GB, free: 26.01 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/0.7098, allocations: 0.9068 MB / 0.7759 GB, free: 25.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005119/0.7103, allocations: 115.4 kB / 0.776 GB, free: 25.29 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/0.7106, allocations: 195.6 kB / 0.7762 GB, free: 25.27 MB / 0.5762 GB Notification: Performance of SimCode: time 1.163e-06/0.7106, allocations: 0.7812 kB / 0.7762 GB, free: 25.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05335/0.764, allocations: 13.25 MB / 0.7891 GB, free: 22.85 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.12, allocations: 9.25 kB / 0.7891 GB, free: 22.85 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.275782290962525] Failed to read output from testmodel.py, exit status != 0: 13.298569945967756 13.317114976 13.081166334 Calling exit ...