Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001355/0.001355, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001719/0.001719, allocations: 213.6 kB / 22.24 MB, free: 5.238 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002535/0.002535, allocations: 290.8 kB / 312.7 MB, free: 2.621 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.232/1.232, allocations: 180.6 MB / 0.5369 GB, free: 14.41 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.004701/0.004701, allocations: 107.8 kB / 0.7395 GB, free: 28.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1884, allocations: 95.38 MB / 0.8327 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.00831/0.1967, allocations: 5.916 MB / 0.8384 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005564/0.2022, allocations: 3.126 MB / 0.8415 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003218/0.2026, allocations: 43.62 kB / 0.8415 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002451/0.205, allocations: 0.926 MB / 0.8424 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.206, allocations: 497.5 kB / 0.8429 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.2071, allocations: 486.5 kB / 0.8434 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.2082, allocations: 1.1 MB / 0.8444 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007433/0.209, allocations: 0.5025 MB / 0.8449 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005736/0.2095, allocations: 454.4 kB / 0.8454 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006073/0.2101, allocations: 478.1 kB / 0.8458 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.743e-05/0.2102, allocations: 56 kB / 0.8459 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000727/0.2109, allocations: 447 kB / 0.8463 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002825/0.2112, allocations: 295.1 kB / 0.8466 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003276/0.2116, allocations: 330.4 kB / 0.8469 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.2128, allocations: 1.187 MB / 0.8481 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2128, allocations: 0 / 0.8481 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2128, allocations: 3.938 kB / 0.8481 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.2128, allocations: 0 / 0.8481 GB, free: 8.465 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001591/0.2144, allocations: 1.003 MB / 0.849 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.2145, allocations: 13.94 kB / 0.8491 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/0.2146, allocations: 110.7 kB / 0.8492 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.216, allocations: 232.1 kB / 0.8494 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009807/0.217, allocations: 0.5088 MB / 0.8499 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.144e-05/0.217, allocations: 49.67 kB / 0.8499 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.2171, allocations: 64.36 kB / 0.85 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.2186, allocations: 1.134 MB / 0.8511 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.2187, allocations: 11.89 kB / 0.8511 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.947e-05/0.2187, allocations: 31.98 kB / 0.8511 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.923e-05/0.2188, allocations: 69.27 kB / 0.8512 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.2199, allocations: 0.6918 MB / 0.8519 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004815/0.2247, allocations: 4.495 MB / 0.8563 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007666/0.2255, allocations: 414.1 kB / 0.8567 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007994/0.2263, allocations: 396.5 kB / 0.857 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.2263, allocations: 4 kB / 0.857 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.2263, allocations: 42.56 kB / 0.8571 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 1.914e-06/0.2263, allocations: 0 / 0.8571 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42): time 0.004143/0.2305, allocations: 1.703 MB / 0.8587 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.2305, allocations: 55.41 kB / 0.8588 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004855/0.231, allocations: 466.7 kB / 0.8592 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.231, allocations: 29.7 kB / 0.8593 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.2313, allocations: 400.1 kB / 0.8597 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.2314, allocations: 162.6 kB / 0.8598 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.2316, allocations: 106.2 kB / 0.8599 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.2318, allocations: 366.8 kB / 0.8603 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/0.2321, allocations: 241.2 kB / 0.8605 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005172/0.2326, allocations: 457 kB / 0.8609 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009619/0.2336, allocations: 0.748 MB / 0.8617 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2336, allocations: 0 / 0.8617 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001811/0.2354, allocations: 1.034 MB / 0.8627 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.2354, allocations: 15.88 kB / 0.8627 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.2355, allocations: 8 kB / 0.8627 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009603/0.2364, allocations: 315.9 kB / 0.863 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.2367, allocations: 95.83 kB / 0.8631 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00731/0.244, allocations: 7.03 MB / 0.8699 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.2445, allocations: 27.98 kB / 0.87 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.217e-05/0.2445, allocations: 24 kB / 0.87 GB, free: 0.8398 MB / 0.6075 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000377/0.2449, allocations: 247.5 kB / 0.8702 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.55e-05/0.245, allocations: 71.55 kB / 0.8703 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/0.2467, allocations: 0.8846 MB / 0.8712 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.2467, allocations: 4 kB / 0.8712 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2467, allocations: 8 kB / 0.8712 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.2467, allocations: 4 kB / 0.8712 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002667/0.2494, allocations: 1.574 MB / 0.8727 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.2494, allocations: 4 kB / 0.8727 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.2496, allocations: 39.91 kB / 0.8728 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008906/0.2505, allocations: 307.3 kB / 0.8731 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.2505, allocations: 8 kB / 0.8731 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007247/0.2577, allocations: 7.023 MB / 0.8799 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2577, allocations: 8 kB / 0.8799 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.2594, allocations: 0.9692 MB / 0.8809 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002799/0.2597, allocations: 103.6 kB / 0.881 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.373e-05/0.2598, allocations: 11.95 kB / 0.881 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.26, allocations: 23.91 kB / 0.881 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.515e-05/0.2601, allocations: 47.86 kB / 0.8811 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.2601, allocations: 12 kB / 0.8811 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000344/0.2605, allocations: 302.9 kB / 0.8814 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2605, allocations: 3.938 kB / 0.8814 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007496/0.2612, allocations: 196 kB / 0.8815 GB, free: 4.395 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001932/0.2632, allocations: 1.533 MB / 0.883 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001865/0.265, allocations: 1.155 MB / 0.8842 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.265, allocations: 0 / 0.8842 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.2662, allocations: 0.8308 MB / 0.885 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009425/0.2672, allocations: 208.7 kB / 0.8852 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008201/0.2754, allocations: 5.834 MB / 0.8909 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.2758, allocations: 394.8 kB / 0.8913 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002996/0.2761, allocations: 101.2 kB / 0.8913 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/0.2764, allocations: 223.4 kB / 0.8916 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of SimCode: time 9.52e-07/0.2764, allocations: 0 / 0.8916 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06034/0.3368, allocations: 16.86 MB / 0.908 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.05, allocations: 15.05 kB / 0.908 GB, free: 9.148 MB / 0.6544 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_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_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.446760090999305] Failed to read output from testmodel.py, exit status != 0: 12.169810049701482 12.197331653 11.979418384 Calling exit ...