Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.001858/0.001858, allocations: 119 kB / 19.69 MB, free: 2.199 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.002258/0.002258, allocations: 223.8 kB / 23.01 MB, free: 5.047 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.977 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 0.9637/0.9637, allocations: 150 MB / 463.2 MB, free: 10.47 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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",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.003354/0.003354, allocations: 66.23 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1837, allocations: 89.17 MB / 0.7283 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006952/0.1906, allocations: 5.041 MB / 0.7333 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004371/0.195, allocations: 2.604 MB / 0.7358 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004018/0.1954, allocations: 43.56 kB / 0.7359 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.1966, allocations: 421.9 kB / 0.7363 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.1977, allocations: 469.6 kB / 0.7367 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000943/0.1986, allocations: 402.4 kB / 0.7371 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001188/0.1998, allocations: 0.9333 MB / 0.738 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005061/0.2003, allocations: 318.6 kB / 0.7383 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000557/0.2009, allocations: 362.6 kB / 0.7386 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005526/0.2014, allocations: 358.5 kB / 0.739 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.082e-05/0.2015, allocations: 40 kB / 0.739 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007289/0.2022, allocations: 419 kB / 0.7394 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.2025, allocations: 187.3 kB / 0.7396 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003375/0.2028, allocations: 318.2 kB / 0.7399 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.2039, allocations: 0.8909 MB / 0.7408 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2039, allocations: 4 kB / 0.7408 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2039, allocations: 0 / 0.7408 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.729e-05/0.2039, allocations: 0 / 0.7408 GB, free: 4.469 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.001515/0.2054, allocations: 0.9012 MB / 0.7417 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2055, allocations: 8.031 kB / 0.7417 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.2056, allocations: 94.69 kB / 0.7418 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.2068, allocations: 204.2 kB / 0.742 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008911/0.2077, allocations: 484.8 kB / 0.7424 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/0.2078, allocations: 41.31 kB / 0.7425 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.657e-05/0.2078, allocations: 44.36 kB / 0.7425 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.209, allocations: 0.8484 MB / 0.7433 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.209, allocations: 15.88 kB / 0.7433 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/0.2091, allocations: 23.98 kB / 0.7434 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-05/0.2092, allocations: 56.97 kB / 0.7434 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009157/0.2101, allocations: 0.5695 MB / 0.744 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004979/0.215, allocations: 5.578 MB / 0.7494 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000671/0.2157, allocations: 426.2 kB / 0.7498 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.216, allocations: 211.3 kB / 0.75 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.2161, allocations: 0 / 0.75 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.2161, allocations: 38.56 kB / 0.7501 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 1.323e-06/0.2161, allocations: 0 / 0.7501 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002445/0.2185, allocations: 1.14 MB / 0.7512 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.2186, allocations: 51.69 kB / 0.7512 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005973/0.2192, allocations: 0.4991 MB / 0.7517 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.2192, allocations: 33.7 kB / 0.7518 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/0.2195, allocations: 375.6 kB / 0.7521 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.2196, allocations: 123 kB / 0.7522 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.2198, allocations: 114.2 kB / 0.7523 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.22, allocations: 366.8 kB / 0.7527 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.2203, allocations: 197.2 kB / 0.7529 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/0.2208, allocations: 439.3 kB / 0.7533 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009452/0.2217, allocations: 0.7032 MB / 0.754 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2217, allocations: 4 kB / 0.754 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001362/0.2231, allocations: 0.802 MB / 0.7548 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.2231, allocations: 12.19 kB / 0.7548 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.2231, allocations: 8 kB / 0.7548 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005089/0.2236, allocations: 156 kB / 0.7549 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004534/0.2241, allocations: 123.8 kB / 0.7551 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003656/0.2277, allocations: 4.046 MB / 0.759 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.2281, allocations: 31.97 kB / 0.759 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/0.2282, allocations: 32 kB / 0.7591 GB, free: 460 kB / 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.0002664/0.2284, allocations: 211.5 kB / 0.7593 GB, free: 240 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.2285, allocations: 71.64 kB / 0.7593 GB, free: 168 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2965/0.525, allocations: 0.5941 MB / 0.7599 GB, free: 34.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.525, allocations: 5.938 kB / 0.7599 GB, free: 34.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.525, allocations: 0 / 0.7599 GB, free: 34.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-06/0.525, allocations: 1.5 kB / 0.7599 GB, free: 34.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.5267, allocations: 1.229 MB / 0.7611 GB, free: 33.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.5267, allocations: 4.469 kB / 0.7611 GB, free: 33.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.5269, allocations: 55.12 kB / 0.7612 GB, free: 33.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003485/0.5273, allocations: 142.3 kB / 0.7613 GB, free: 33.79 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.5273, allocations: 7.078 kB / 0.7613 GB, free: 33.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.5294, allocations: 4.032 MB / 0.7653 GB, free: 30.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5294, allocations: 3.156 kB / 0.7653 GB, free: 30.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007798/0.5301, allocations: 0.7184 MB / 0.766 GB, free: 29.94 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.5304, allocations: 92.19 kB / 0.7661 GB, free: 29.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.5304, allocations: 13.88 kB / 0.7661 GB, free: 29.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.5307, allocations: 27.45 kB / 0.7661 GB, free: 29.94 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.5307, allocations: 37.56 kB / 0.7661 GB, free: 29.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.5307, allocations: 12.41 kB / 0.7661 GB, free: 29.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003075/0.5311, allocations: 333.7 kB / 0.7665 GB, free: 29.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5311, allocations: 0 / 0.7665 GB, free: 29.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006196/0.5317, allocations: 142.5 kB / 0.7666 GB, free: 29.84 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.001049/0.5327, allocations: 1.256 MB / 0.7678 GB, free: 29.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.534, allocations: 0.8608 MB / 0.7687 GB, free: 28.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.534, allocations: 2.906 kB / 0.7687 GB, free: 28.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006665/0.5347, allocations: 0.5749 MB / 0.7692 GB, free: 28.38 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009436/0.5356, allocations: 223.2 kB / 0.7694 GB, free: 28.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00565/0.5413, allocations: 5.155 MB / 0.7745 GB, free: 25.95 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.5416, allocations: 0.9106 MB / 0.7754 GB, free: 25.24 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003639/0.542, allocations: 119.5 kB / 0.7755 GB, free: 25.22 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.5422, allocations: 195.9 kB / 0.7757 GB, free: 25.21 MB / 0.5762 GB Notification: Performance of SimCode: time 7.32e-07/0.5422, allocations: 0 / 0.7757 GB, free: 25.21 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05558/0.5978, allocations: 13.35 MB / 0.7887 GB, free: 22.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.86, allocations: 13.66 kB / 0.7887 GB, free: 22.76 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.718365157023072] Failed to read output from testmodel.py, exit status != 0: 12.974866481963545 12.98852223 12.779970401 Calling exit ...