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.00174/0.00174, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00199/0.00199, allocations: 210.8 kB / 22.25 MB, free: 5.082 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 8 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.002522/0.002522, allocations: 287.7 kB / 312.7 MB, free: 2.816 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.199/1.199, allocations: 180.6 MB / 0.5369 GB, free: 13.12 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.002905/0.002905, allocations: 101 kB / 0.7396 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1677, allocations: 95.38 MB / 0.8327 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008618/0.1764, allocations: 6.353 MB / 0.8389 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005564/0.1819, allocations: 3.297 MB / 0.8422 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005849/0.1825, allocations: 43.62 kB / 0.8422 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002608/0.1851, allocations: 0.9788 MB / 0.8432 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.1865, allocations: 493.5 kB / 0.8436 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.1877, allocations: 497 kB / 0.8441 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001435/0.1892, allocations: 1.096 MB / 0.8452 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008012/0.19, allocations: 0.5026 MB / 0.8457 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006994/0.1907, allocations: 462.3 kB / 0.8461 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006741/0.1914, allocations: 498.1 kB / 0.8466 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.178e-05/0.1914, allocations: 60 kB / 0.8466 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008954/0.1923, allocations: 499 kB / 0.8471 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002948/0.1926, allocations: 299.1 kB / 0.8474 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004048/0.193, allocations: 401.9 kB / 0.8478 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.1945, allocations: 1.179 MB / 0.8489 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1945, allocations: 0 / 0.8489 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1945, allocations: 0 / 0.8489 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.1946, allocations: 0 / 0.8489 GB, free: 8.027 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.001688/0.1962, allocations: 1.003 MB / 0.8499 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1963, allocations: 9.344 kB / 0.8499 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.1964, allocations: 118.7 kB / 0.85 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.1979, allocations: 220.2 kB / 0.8502 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.1991, allocations: 0.5243 MB / 0.8508 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.16e-05/0.1991, allocations: 45.67 kB / 0.8508 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.1993, allocations: 56.38 kB / 0.8509 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.2007, allocations: 1.037 MB / 0.8519 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/0.2008, allocations: 11.89 kB / 0.8519 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.725e-05/0.2008, allocations: 31.98 kB / 0.8519 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.123e-05/0.2009, allocations: 65.27 kB / 0.852 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.202, allocations: 0.6957 MB / 0.8526 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005584/0.2076, allocations: 5.651 MB / 0.8582 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007842/0.2084, allocations: 412.7 kB / 0.8586 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007832/0.2092, allocations: 396.5 kB / 0.8589 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.2092, allocations: 4 kB / 0.8589 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.2092, allocations: 38.56 kB / 0.859 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 2.134e-06/0.2092, allocations: 4 kB / 0.859 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42): time 0.004246/0.2135, allocations: 1.707 MB / 0.8606 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.2135, allocations: 59.34 kB / 0.8607 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.214, allocations: 454.8 kB / 0.8611 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.2141, allocations: 37.64 kB / 0.8612 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/0.2144, allocations: 392.1 kB / 0.8615 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.2145, allocations: 162.6 kB / 0.8617 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.2147, allocations: 118.2 kB / 0.8618 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.2148, allocations: 362.8 kB / 0.8622 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.2152, allocations: 241.2 kB / 0.8624 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005196/0.2157, allocations: 453 kB / 0.8628 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009633/0.2167, allocations: 0.748 MB / 0.8636 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.2167, allocations: 4 kB / 0.8636 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001937/0.2186, allocations: 1.031 MB / 0.8646 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.2187, allocations: 12 kB / 0.8646 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.2187, allocations: 11.94 kB / 0.8646 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.2197, allocations: 319.1 kB / 0.8649 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.22, allocations: 95.83 kB / 0.865 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007583/0.2276, allocations: 7.064 MB / 0.8719 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/0.2281, allocations: 35.95 kB / 0.8719 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/0.2281, allocations: 28 kB / 0.8719 GB, free: 15.08 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 (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.0003879/0.2285, allocations: 246.2 kB / 0.8722 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.2286, allocations: 63.56 kB / 0.8722 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/0.2304, allocations: 0.8768 MB / 0.8731 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.2304, allocations: 4 kB / 0.8731 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.2304, allocations: 4 kB / 0.8731 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.2304, allocations: 3.984 kB / 0.8731 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002841/0.2333, allocations: 1.644 MB / 0.8747 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.2333, allocations: 4 kB / 0.8747 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.2335, allocations: 40.03 kB / 0.8748 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009621/0.2344, allocations: 311.3 kB / 0.8751 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/0.2345, allocations: 11.98 kB / 0.8751 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007484/0.2419, allocations: 7.053 MB / 0.882 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/0.242, allocations: 7.938 kB / 0.882 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.2437, allocations: 0.9731 MB / 0.8829 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/0.244, allocations: 95.58 kB / 0.883 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.931e-05/0.244, allocations: 12 kB / 0.883 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.2443, allocations: 27.91 kB / 0.883 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.2444, allocations: 43.86 kB / 0.8831 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.2445, allocations: 12 kB / 0.8831 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003476/0.2448, allocations: 302.9 kB / 0.8834 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.2448, allocations: 0 / 0.8834 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007737/0.2456, allocations: 196 kB / 0.8836 GB, free: 2.555 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.002017/0.2476, allocations: 1.533 MB / 0.8851 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002016/0.2496, allocations: 1.155 MB / 0.8862 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.2496, allocations: 0 / 0.8862 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.2509, allocations: 0.8344 MB / 0.887 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.2519, allocations: 213.1 kB / 0.8872 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008452/0.2604, allocations: 5.837 MB / 0.8929 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000683/0.261, allocations: 0.9919 MB / 0.8939 GB, free: 7.492 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000293/0.2613, allocations: 105.1 kB / 0.894 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.2616, allocations: 227.4 kB / 0.8942 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of SimCode: time 7.51e-07/0.2616, allocations: 0 / 0.8942 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05927/0.3209, allocations: 15.89 MB / 0.9097 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.86, allocations: 9.031 kB / 0.9097 GB, free: 7.535 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.025408945999516] Failed to read output from testmodel.py, exit status != 0: 11.980273508001119 11.996439693 11.798622829 Calling exit ...