Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001313/0.001313, allocations: 112.9 kB / 17.12 MB, free: 6.008 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.001408/0.001408, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.473/1.473, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 / 459.5 MB, free: 5.281 MB / 350.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.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.001992/0.001992, allocations: 75.84 kB / 0.6361 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1766, allocations: 89.13 MB / 0.7232 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009332/0.1859, allocations: 6.838 MB / 0.7298 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005288/0.1912, allocations: 3.113 MB / 0.7329 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004337/0.1917, allocations: 35.69 kB / 0.7329 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.1942, allocations: 0.96 MB / 0.7339 GB, free: 9.055 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.1953, allocations: 0.5285 MB / 0.7344 GB, free: 8.523 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.1963, allocations: 421.7 kB / 0.7348 GB, free: 8.113 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001443/0.1978, allocations: 1.217 MB / 0.736 GB, free: 6.895 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008771/0.1987, allocations: 0.5374 MB / 0.7365 GB, free: 6.355 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006688/0.1993, allocations: 490.3 kB / 0.7369 GB, free: 5.875 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006905/0.2, allocations: 0.5409 MB / 0.7375 GB, free: 5.332 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.887e-05/0.2001, allocations: 68 kB / 0.7375 GB, free: 5.266 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006695/0.2008, allocations: 395.2 kB / 0.7379 GB, free: 4.879 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003297/0.2011, allocations: 315.1 kB / 0.7382 GB, free: 4.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004386/0.2015, allocations: 449.7 kB / 0.7386 GB, free: 4.129 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.203, allocations: 1.218 MB / 0.7398 GB, free: 2.906 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.203, allocations: 4 kB / 0.7398 GB, free: 2.902 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.164e-06/0.203, allocations: 0 / 0.7398 GB, free: 2.902 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.203, allocations: 0 / 0.7398 GB, free: 2.902 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002003/0.205, allocations: 1.192 MB / 0.741 GB, free: 1.656 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.205, allocations: 12.03 kB / 0.741 GB, free: 1.645 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001462/0.2052, allocations: 114.7 kB / 0.7411 GB, free: 1.523 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.2068, allocations: 244.1 kB / 0.7414 GB, free: 1.285 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009181/0.2077, allocations: 0.6003 MB / 0.7419 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.093e-05/0.2077, allocations: 45.67 kB / 0.742 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.2078, allocations: 72.36 kB / 0.7421 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.2094, allocations: 1.085 MB / 0.7431 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.2094, allocations: 7.938 kB / 0.7431 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-05/0.2095, allocations: 28 kB / 0.7432 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001572/0.2096, allocations: 89.19 kB / 0.7432 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.2109, allocations: 0.7543 MB / 0.744 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005751/0.2166, allocations: 5.886 MB / 0.7497 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009825/0.2176, allocations: 0.5077 MB / 0.7502 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004248/0.218, allocations: 282 kB / 0.7505 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.218, allocations: 8.438 kB / 0.7505 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.062e-05/0.2181, allocations: 42.94 kB / 0.7505 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 1.723e-06/0.2181, allocations: 0 / 0.7505 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.003918/0.222, allocations: 1.98 MB / 0.7525 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.2221, allocations: 63.84 kB / 0.7525 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006477/0.2227, allocations: 0.5547 MB / 0.7531 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.2228, allocations: 29.7 kB / 0.7531 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.2231, allocations: 436 kB / 0.7535 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.2232, allocations: 178.5 kB / 0.7537 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.2234, allocations: 122.6 kB / 0.7538 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.2236, allocations: 382.7 kB / 0.7542 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004313/0.2241, allocations: 273.9 kB / 0.7544 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006052/0.2247, allocations: 0.4892 MB / 0.7549 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.2258, allocations: 0.8093 MB / 0.7557 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2258, allocations: 0 / 0.7557 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001882/0.2276, allocations: 1.076 MB / 0.7567 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.2277, allocations: 8 kB / 0.7568 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.2277, allocations: 12.09 kB / 0.7568 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00087/0.2285, allocations: 283.1 kB / 0.757 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/0.229, allocations: 123.8 kB / 0.7572 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007299/0.2363, allocations: 7.135 MB / 0.7641 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000591/0.2369, allocations: 39.97 kB / 0.7642 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.029e-05/0.237, allocations: 28 kB / 0.7642 GB, free: 8.379 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003866/0.2374, allocations: 253.5 kB / 0.7644 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.2375, allocations: 75.53 kB / 0.7645 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/0.2393, allocations: 0.8808 MB / 0.7654 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2393, allocations: 4 kB / 0.7654 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.2393, allocations: 4 kB / 0.7654 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.2393, allocations: 3.984 kB / 0.7654 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002882/0.2422, allocations: 1.72 MB / 0.7671 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.2422, allocations: 8.125 kB / 0.7671 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.2424, allocations: 63.83 kB / 0.7671 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000814/0.2433, allocations: 267.1 kB / 0.7674 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/0.2433, allocations: 12.06 kB / 0.7674 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007372/0.2507, allocations: 7.123 MB / 0.7743 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.2507, allocations: 7.969 kB / 0.7744 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.2523, allocations: 0.9721 MB / 0.7753 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.2526, allocations: 188.6 kB / 0.7755 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.2528, allocations: 15.94 kB / 0.7755 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.2532, allocations: 35.95 kB / 0.7755 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.2533, allocations: 39.89 kB / 0.7756 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.2533, allocations: 16 kB / 0.7756 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005085/0.2538, allocations: 387.1 kB / 0.776 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2538, allocations: 0 / 0.776 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008489/0.2547, allocations: 220 kB / 0.7762 GB, free: 11.36 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002014/0.2567, allocations: 1.533 MB / 0.7777 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00218/0.2589, allocations: 1.236 MB / 0.7789 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2589, allocations: 0 / 0.7789 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.2602, allocations: 0.8739 MB / 0.7797 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.2613, allocations: 231 kB / 0.7799 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009659/0.2709, allocations: 6.347 MB / 0.7861 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008034/0.2717, allocations: 1.005 MB / 0.7871 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004187/0.2721, allocations: 130 kB / 0.7872 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00036/0.2725, allocations: 251.3 kB / 0.7875 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of SimCode: time 9.22e-07/0.2725, allocations: 0 / 0.7875 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06372/0.3362, allocations: 17.5 MB / 0.8046 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.29, allocations: 11.75 kB / 0.8046 GB, free: 14.02 MB / 0.6231 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.303210614947602] Failed to read output from testmodel.py, exit status != 0: 11.393112434074283 11.41851155 11.210819243 Calling exit ...