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.00133/0.00133, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001554/0.001554, allocations: 215.5 kB / 22.99 MB, free: 4.977 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.024/1.024, allocations: 149.9 MB / 463.1 MB, free: 10.34 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.002524/0.002524, allocations: 66.77 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1987, allocations: 89.17 MB / 0.7282 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007438/0.2061, allocations: 4.595 MB / 0.7326 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005152/0.2113, allocations: 2.409 MB / 0.735 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007164/0.212, allocations: 35.62 kB / 0.735 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.2138, allocations: 398 kB / 0.7354 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.2156, allocations: 473.6 kB / 0.7359 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.2168, allocations: 385.3 kB / 0.7362 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00146/0.2183, allocations: 0.914 MB / 0.7371 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006974/0.219, allocations: 322.5 kB / 0.7374 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007818/0.2198, allocations: 358.6 kB / 0.7378 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007595/0.2205, allocations: 342.5 kB / 0.7381 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.2206, allocations: 40 kB / 0.7381 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000803/0.2214, allocations: 363.1 kB / 0.7385 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003055/0.2217, allocations: 187.3 kB / 0.7387 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004346/0.2222, allocations: 254.7 kB / 0.7389 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.2236, allocations: 0.9026 MB / 0.7398 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2236, allocations: 0 / 0.7398 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2236, allocations: 0 / 0.7398 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.81e-05/0.2237, allocations: 0 / 0.7398 GB, free: 5.082 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.001661/0.2253, allocations: 0.8896 MB / 0.7407 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2254, allocations: 8.031 kB / 0.7407 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.2255, allocations: 94.69 kB / 0.7408 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.2267, allocations: 200.3 kB / 0.7409 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000948/0.2277, allocations: 476.8 kB / 0.7414 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/0.2277, allocations: 37.36 kB / 0.7414 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.131e-05/0.2278, allocations: 52.31 kB / 0.7415 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.2291, allocations: 0.97 MB / 0.7424 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.2291, allocations: 7.938 kB / 0.7424 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.786e-05/0.2292, allocations: 20 kB / 0.7425 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.2293, allocations: 68.95 kB / 0.7425 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000936/0.2302, allocations: 0.5617 MB / 0.7431 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004773/0.235, allocations: 4.724 MB / 0.7477 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/0.2357, allocations: 422.3 kB / 0.7481 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/0.236, allocations: 204.7 kB / 0.7483 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.236, allocations: 8 kB / 0.7483 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.2361, allocations: 34.56 kB / 0.7483 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 2.114e-06/0.2361, allocations: 0 / 0.7483 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002658/0.2387, allocations: 1.128 MB / 0.7494 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.2388, allocations: 55.69 kB / 0.7495 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006211/0.2394, allocations: 0.5066 MB / 0.75 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.2394, allocations: 33.7 kB / 0.75 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.2397, allocations: 359.8 kB / 0.7504 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.2399, allocations: 130.9 kB / 0.7505 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.24, allocations: 110.2 kB / 0.7506 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.2402, allocations: 366.8 kB / 0.7509 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.2405, allocations: 197.2 kB / 0.7511 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005197/0.2411, allocations: 447.3 kB / 0.7515 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009482/0.242, allocations: 0.6954 MB / 0.7522 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.242, allocations: 4 kB / 0.7522 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001379/0.2434, allocations: 0.7974 MB / 0.753 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.2434, allocations: 8 kB / 0.753 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/0.2435, allocations: 16.89 kB / 0.753 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005428/0.244, allocations: 156.1 kB / 0.7532 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004774/0.2445, allocations: 123.8 kB / 0.7533 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003851/0.2483, allocations: 4.026 MB / 0.7572 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/0.2488, allocations: 39.97 kB / 0.7573 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.2488, allocations: 28.31 kB / 0.7573 GB, free: 2.012 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.000314/0.2492, allocations: 217.5 kB / 0.7575 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.624e-05/0.2493, allocations: 63.58 kB / 0.7576 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.2504, allocations: 0.6008 MB / 0.7582 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.2504, allocations: 4 kB / 0.7582 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.2504, allocations: 4 kB / 0.7582 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.2504, allocations: 7.984 kB / 0.7582 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3962/0.6466, allocations: 1.174 MB / 0.7593 GB, free: 33.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.6466, allocations: 2.812 kB / 0.7593 GB, free: 33.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/0.6469, allocations: 56.27 kB / 0.7594 GB, free: 33.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003951/0.6473, allocations: 142 kB / 0.7595 GB, free: 33.78 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.6473, allocations: 8.781 kB / 0.7595 GB, free: 33.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/0.6496, allocations: 4.015 MB / 0.7634 GB, free: 30.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6496, allocations: 0.8438 kB / 0.7634 GB, free: 30.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008936/0.6505, allocations: 0.7056 MB / 0.7641 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.6507, allocations: 92.05 kB / 0.7642 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.291e-05/0.6508, allocations: 11.81 kB / 0.7642 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.6511, allocations: 22.09 kB / 0.7642 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.273e-05/0.6511, allocations: 34.83 kB / 0.7643 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.6512, allocations: 12.78 kB / 0.7643 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003233/0.6515, allocations: 331.6 kB / 0.7646 GB, free: 29.86 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6515, allocations: 2.938 kB / 0.7646 GB, free: 29.86 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006464/0.6521, allocations: 138.3 kB / 0.7647 GB, free: 29.86 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.001007/0.6531, allocations: 1.267 MB / 0.766 GB, free: 29.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.6543, allocations: 0.8463 MB / 0.7668 GB, free: 28.74 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6543, allocations: 2.25 kB / 0.7668 GB, free: 28.74 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006273/0.655, allocations: 0.5766 MB / 0.7674 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.0009825/0.656, allocations: 212 kB / 0.7676 GB, free: 28.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00616/0.6621, allocations: 5.125 MB / 0.7726 GB, free: 25.95 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.6626, allocations: 303.4 kB / 0.7729 GB, free: 25.85 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004841/0.663, allocations: 120 kB / 0.773 GB, free: 25.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/0.6633, allocations: 192 kB / 0.7732 GB, free: 25.84 MB / 0.5762 GB Notification: Performance of SimCode: time 1.883e-06/0.6633, allocations: 0 / 0.7732 GB, free: 25.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06023/0.7235, allocations: 14.16 MB / 0.787 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.92, allocations: 14.33 kB / 0.787 GB, free: 23.1 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: 16.815611333120614] Failed to read output from testmodel.py, exit status != 0: 13.037148157134652 13.051608837 12.82456713 Calling exit ...