Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001419/0.001419, allocations: 103 kB / 16.45 MB, free: 6.5 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.001493/0.001493, allocations: 216 kB / 19.43 MB, free: 3.656 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.31/1.31, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002341/0.002341, allocations: 292.5 kB / 309.1 MB, free: 3.996 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.109/1.109, allocations: 180.9 MB / 0.5333 GB, free: 13.89 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002664/0.002664, allocations: 104.5 kB / 0.7342 GB, free: 28.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1439, allocations: 95.34 MB / 0.8273 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008678/0.1526, allocations: 6.851 MB / 0.834 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004846/0.1574, allocations: 3.106 MB / 0.8371 GB, free: 12 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003242/0.1577, allocations: 35.73 kB / 0.8371 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002316/0.16, allocations: 0.9682 MB / 0.8381 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009886/0.161, allocations: 0.5129 MB / 0.8386 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009314/0.162, allocations: 423.1 kB / 0.839 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001264/0.1632, allocations: 1.224 MB / 0.8402 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007443/0.164, allocations: 0.5295 MB / 0.8407 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006281/0.1646, allocations: 0.4904 MB / 0.8411 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006763/0.1653, allocations: 0.5487 MB / 0.8417 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-05/0.1654, allocations: 64 kB / 0.8417 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006149/0.166, allocations: 387.2 kB / 0.8421 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002945/0.1663, allocations: 311.1 kB / 0.8424 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000414/0.1667, allocations: 453.7 kB / 0.8428 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.168, allocations: 1.218 MB / 0.844 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.168, allocations: 0 / 0.844 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.312e-06/0.168, allocations: 4 kB / 0.844 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.168, allocations: 0 / 0.844 GB, free: 8.859 MB / 0.5919 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.001897/0.1699, allocations: 1.184 MB / 0.8452 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.17, allocations: 12.03 kB / 0.8452 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.1701, allocations: 126.7 kB / 0.8453 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.1716, allocations: 236.1 kB / 0.8456 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008679/0.1724, allocations: 0.5964 MB / 0.8461 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.26e-05/0.1725, allocations: 49.67 kB / 0.8462 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.1726, allocations: 60.38 kB / 0.8462 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.1741, allocations: 1.085 MB / 0.8473 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.1741, allocations: 15.89 kB / 0.8473 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-05/0.1742, allocations: 31.98 kB / 0.8473 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/0.1743, allocations: 81.25 kB / 0.8474 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.1755, allocations: 0.7582 MB / 0.8482 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005472/0.181, allocations: 5.879 MB / 0.8539 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009462/0.1819, allocations: 0.5209 MB / 0.8544 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004151/0.1823, allocations: 286 kB / 0.8547 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.1823, allocations: 4.438 kB / 0.8547 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.1824, allocations: 39 kB / 0.8547 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 1.834e-06/0.1824, allocations: 0 / 0.8547 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.003798/0.1862, allocations: 1.98 MB / 0.8567 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.1862, allocations: 63.72 kB / 0.8567 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006237/0.1869, allocations: 0.5625 MB / 0.8573 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.1869, allocations: 33.7 kB / 0.8573 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/0.1872, allocations: 432 kB / 0.8577 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.1873, allocations: 174.5 kB / 0.8579 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.1875, allocations: 134.6 kB / 0.858 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1877, allocations: 374.7 kB / 0.8584 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004143/0.1881, allocations: 277.8 kB / 0.8586 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/0.1887, allocations: 0.4892 MB / 0.8591 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.1898, allocations: 0.8055 MB / 0.8599 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.1898, allocations: 8 kB / 0.8599 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001806/0.1916, allocations: 1.071 MB / 0.8609 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1916, allocations: 12.86 kB / 0.861 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.1916, allocations: 8 kB / 0.861 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008258/0.1925, allocations: 279.1 kB / 0.8612 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.1929, allocations: 127.8 kB / 0.8614 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006968/0.1999, allocations: 7.135 MB / 0.8683 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005311/0.2004, allocations: 36.03 kB / 0.8684 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/0.2005, allocations: 35.98 kB / 0.8684 GB, free: 14.32 MB / 0.6231 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.0003617/0.2008, allocations: 255.7 kB / 0.8686 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.2009, allocations: 71.58 kB / 0.8687 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.2025, allocations: 0.8847 MB / 0.8696 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2025, allocations: 4 kB / 0.8696 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.2026, allocations: 4 kB / 0.8696 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2026, allocations: 0 / 0.8696 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00258/0.2051, allocations: 1.713 MB / 0.8712 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.485e-06/0.2051, allocations: 11.94 kB / 0.8713 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.2054, allocations: 64.14 kB / 0.8713 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007522/0.2061, allocations: 263.1 kB / 0.8716 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/0.2062, allocations: 12 kB / 0.8716 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00686/0.213, allocations: 7.124 MB / 0.8785 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.213, allocations: 12.08 kB / 0.8786 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.2146, allocations: 0.9681 MB / 0.8795 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/0.2149, allocations: 204.6 kB / 0.8797 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.247e-05/0.2149, allocations: 11.94 kB / 0.8797 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/0.2153, allocations: 27.97 kB / 0.8797 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.2154, allocations: 51.88 kB / 0.8798 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.2154, allocations: 12 kB / 0.8798 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004467/0.2159, allocations: 383.1 kB / 0.8802 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2159, allocations: 0 / 0.8802 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007646/0.2166, allocations: 224 kB / 0.8804 GB, free: 1.305 MB / 0.6231 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.001849/0.2185, allocations: 1.529 MB / 0.8819 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001972/0.2205, allocations: 1.24 MB / 0.8831 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.475e-06/0.2205, allocations: 4 kB / 0.8831 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.2217, allocations: 0.8619 MB / 0.8839 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009573/0.2227, allocations: 225.7 kB / 0.8841 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00849/0.2312, allocations: 6.362 MB / 0.8903 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006637/0.2318, allocations: 1.005 MB / 0.8913 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003599/0.2322, allocations: 122 kB / 0.8914 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/0.2325, allocations: 255.4 kB / 0.8917 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of SimCode: time 7.02e-07/0.2325, allocations: 0 / 0.8917 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05663/0.2891, allocations: 17.54 MB / 0.9088 GB, free: 3.984 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.34, allocations: 4 kB / 0.9088 GB, free: 3.984 MB / 0.6544 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.053897152189165] Failed to read output from testmodel.py, exit status != 0: 10.436329913325608 10.449652627 10.279006996 Calling exit ...