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.001315/0.001315, 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.001436/0.001436, allocations: 212.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.439/1.439, allocations: 230.6 MB / 257.6 MB, free: 8.039 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.9557/0.9557, allocations: 150 MB / 464 MB, free: 10.53 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.00209/0.00209, allocations: 66.42 kB / 0.642 GB, free: 10.47 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1716, allocations: 89.17 MB / 0.7291 GB, free: 1.371 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.008253/0.1799, allocations: 5.03 MB / 0.734 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004657/0.1845, allocations: 2.6 MB / 0.7366 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004513/0.185, allocations: 39.56 kB / 0.7366 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.1863, allocations: 433.5 kB / 0.737 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.1874, allocations: 473.6 kB / 0.7375 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009261/0.1884, allocations: 399.1 kB / 0.7379 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001093/0.1895, allocations: 0.9256 MB / 0.7388 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005102/0.19, allocations: 322.6 kB / 0.7391 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005596/0.1905, allocations: 354.6 kB / 0.7394 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005501/0.1911, allocations: 378.4 kB / 0.7398 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.241e-05/0.1912, allocations: 36 kB / 0.7398 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007301/0.1919, allocations: 407.1 kB / 0.7402 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.1921, allocations: 187.3 kB / 0.7404 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003249/0.1924, allocations: 318.2 kB / 0.7407 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.1935, allocations: 0.8947 MB / 0.7415 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1935, allocations: 8 kB / 0.7415 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1935, allocations: 4 kB / 0.7416 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.1935, allocations: 0 / 0.7416 GB, free: 4.586 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.001531/0.1951, allocations: 0.8935 MB / 0.7424 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.1951, allocations: 12.03 kB / 0.7424 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.742e-05/0.1951, allocations: 13.12 kB / 0.7424 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.1952, allocations: 94.69 kB / 0.7425 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.1965, allocations: 204.3 kB / 0.7427 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008668/0.1974, allocations: 492.8 kB / 0.7432 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.1974, allocations: 37.3 kB / 0.7432 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-05/0.1975, allocations: 40.38 kB / 0.7433 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.1987, allocations: 0.8444 MB / 0.7441 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/0.1987, allocations: 11.89 kB / 0.7441 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.422e-05/0.1988, allocations: 23.98 kB / 0.7441 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-05/0.1989, allocations: 64.95 kB / 0.7442 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009188/0.1998, allocations: 0.5695 MB / 0.7448 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005271/0.2051, allocations: 5.586 MB / 0.7502 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006563/0.2057, allocations: 418.2 kB / 0.7506 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.206, allocations: 204.7 kB / 0.7508 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.2061, allocations: 8 kB / 0.7508 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.2061, allocations: 34.56 kB / 0.7508 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/0.2061, allocations: 0 / 0.7508 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.00254/0.2086, allocations: 1.14 MB / 0.752 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.2087, allocations: 55.69 kB / 0.752 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005656/0.2093, allocations: 0.4991 MB / 0.7525 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.2093, allocations: 33.7 kB / 0.7525 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.2096, allocations: 375.6 kB / 0.7529 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.2097, allocations: 126.9 kB / 0.753 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.2098, allocations: 114.2 kB / 0.7531 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002013/0.21, allocations: 366.8 kB / 0.7535 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.2103, allocations: 189.2 kB / 0.7536 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000521/0.2109, allocations: 451.3 kB / 0.7541 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009088/0.2118, allocations: 0.6954 MB / 0.7548 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.2118, allocations: 4 kB / 0.7548 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001392/0.2132, allocations: 0.8099 MB / 0.7556 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.2132, allocations: 8 kB / 0.7556 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.2132, allocations: 11.94 kB / 0.7556 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005271/0.2137, allocations: 156.1 kB / 0.7557 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000485/0.2142, allocations: 123.9 kB / 0.7558 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003813/0.218, allocations: 4.034 MB / 0.7598 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/0.2185, allocations: 31.97 kB / 0.7598 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/0.2185, allocations: 28 kB / 0.7598 GB, free: 0.5625 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.0003402/0.2189, allocations: 218.5 kB / 0.76 GB, free: 348 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.219, allocations: 71.56 kB / 0.7601 GB, free: 276 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3185/0.5375, allocations: 0.5913 MB / 0.7607 GB, free: 34.33 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.5375, allocations: 3.5 kB / 0.7607 GB, free: 34.33 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5375, allocations: 1.625 kB / 0.7607 GB, free: 34.33 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.5375, allocations: 4.922 kB / 0.7607 GB, free: 34.33 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.5393, allocations: 1.23 MB / 0.7619 GB, free: 33.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.5393, allocations: 7.375 kB / 0.7619 GB, free: 33.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.5395, allocations: 57.38 kB / 0.762 GB, free: 33.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003612/0.5399, allocations: 138.3 kB / 0.7621 GB, free: 33.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.5399, allocations: 10.34 kB / 0.7621 GB, free: 33.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.542, allocations: 4.028 MB / 0.766 GB, free: 30.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.542, allocations: 0.8438 kB / 0.766 GB, free: 30.31 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008104/0.5428, allocations: 0.7143 MB / 0.7667 GB, free: 30.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.543, allocations: 96.36 kB / 0.7668 GB, free: 30.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/0.5431, allocations: 11.22 kB / 0.7668 GB, free: 30.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.5433, allocations: 26.05 kB / 0.7669 GB, free: 30.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.5434, allocations: 42.47 kB / 0.7669 GB, free: 30.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.5434, allocations: 11.38 kB / 0.7669 GB, free: 30.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002897/0.5437, allocations: 337.5 kB / 0.7672 GB, free: 29.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5437, allocations: 0 / 0.7672 GB, free: 29.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006968/0.5444, allocations: 140.1 kB / 0.7674 GB, free: 29.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.0009829/0.5454, allocations: 1.259 MB / 0.7686 GB, free: 29.22 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.5465, allocations: 0.8545 MB / 0.7694 GB, free: 28.87 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5465, allocations: 4.344 kB / 0.7694 GB, free: 28.87 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006281/0.5471, allocations: 0.5759 MB / 0.77 GB, free: 28.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009425/0.5481, allocations: 210.1 kB / 0.7702 GB, free: 28.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005687/0.5538, allocations: 5.168 MB / 0.7752 GB, free: 26.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.5542, allocations: 0.9091 MB / 0.7761 GB, free: 25.37 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000385/0.5546, allocations: 116.3 kB / 0.7762 GB, free: 25.35 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.5549, allocations: 194 kB / 0.7764 GB, free: 25.34 MB / 0.5762 GB Notification: Performance of SimCode: time 1.232e-06/0.5549, allocations: 4 kB / 0.7764 GB, free: 25.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04803/0.6029, allocations: 13.39 MB / 0.7895 GB, free: 22.86 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.44, allocations: 11.92 kB / 0.7895 GB, free: 22.85 MB / 0.5762 GB " [Timeout remaining time 646] (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: 17.216128328989726] Failed to read output from testmodel.py, exit status != 0: 13.623171368963085 13.64651319 13.448445766 Calling exit ...