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.001624/0.001624, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002025/0.002025, allocations: 214.3 kB / 22.24 MB, free: 5.262 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.468/1.468, 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.002559/0.002559, allocations: 292 kB / 312.7 MB, free: 2.594 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.239/1.239, allocations: 180.6 MB / 0.5369 GB, free: 14.59 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_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.002874/0.002874, allocations: 101.8 kB / 0.7395 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1891, allocations: 95.38 MB / 0.8326 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009209/0.1984, allocations: 6.484 MB / 0.839 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005555/0.2039, allocations: 3.04 MB / 0.842 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004648/0.2044, allocations: 35.69 kB / 0.842 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002576/0.2069, allocations: 0.9563 MB / 0.8429 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.2083, allocations: 0.5207 MB / 0.8434 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.2093, allocations: 420.8 kB / 0.8438 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001444/0.2108, allocations: 1.229 MB / 0.845 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008118/0.2116, allocations: 0.5295 MB / 0.8455 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000694/0.2123, allocations: 0.4943 MB / 0.846 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007199/0.213, allocations: 0.5058 MB / 0.8465 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.2131, allocations: 68 kB / 0.8466 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006856/0.2138, allocations: 343.3 kB / 0.8469 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003239/0.2141, allocations: 315.1 kB / 0.8472 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004259/0.2146, allocations: 378.2 kB / 0.8476 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.216, allocations: 1.23 MB / 0.8488 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.216, allocations: 0 / 0.8488 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.763e-06/0.216, allocations: 0 / 0.8488 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.216, allocations: 0 / 0.8488 GB, free: 7.746 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.002003/0.218, allocations: 1.1 MB / 0.8498 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.2181, allocations: 13.94 kB / 0.8499 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001545/0.2182, allocations: 126.7 kB / 0.85 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/0.2197, allocations: 240.1 kB / 0.8502 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.2208, allocations: 0.5269 MB / 0.8507 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/0.2209, allocations: 49.67 kB / 0.8508 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.221, allocations: 64.36 kB / 0.8508 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.2228, allocations: 1.344 MB / 0.8521 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.2228, allocations: 11.83 kB / 0.8522 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-05/0.2229, allocations: 28 kB / 0.8522 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001565/0.223, allocations: 85.25 kB / 0.8523 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.2243, allocations: 0.7504 MB / 0.853 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005389/0.2297, allocations: 4.628 MB / 0.8575 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009732/0.2307, allocations: 0.5086 MB / 0.858 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000435/0.2311, allocations: 290 kB / 0.8583 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.2312, allocations: 8.438 kB / 0.8583 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.2312, allocations: 35 kB / 0.8583 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.635e-06/0.2312, allocations: 0 / 0.8583 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.00388/0.2351, allocations: 1.69 MB / 0.86 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.2352, allocations: 63.84 kB / 0.86 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007076/0.2359, allocations: 0.5586 MB / 0.8606 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.751e-05/0.2359, allocations: 37.69 kB / 0.8606 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000342/0.2363, allocations: 424 kB / 0.861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.2364, allocations: 182.5 kB / 0.8612 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.2366, allocations: 126.6 kB / 0.8613 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002287/0.2369, allocations: 374.7 kB / 0.8617 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/0.2373, allocations: 273.8 kB / 0.8619 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006438/0.2379, allocations: 0.4891 MB / 0.8624 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.2391, allocations: 0.8123 MB / 0.8632 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.2391, allocations: 0 / 0.8632 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001911/0.241, allocations: 1.082 MB / 0.8643 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.241, allocations: 8.125 kB / 0.8643 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.241, allocations: 8 kB / 0.8643 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008291/0.2418, allocations: 279.2 kB / 0.8646 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/0.2423, allocations: 123.8 kB / 0.8647 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007254/0.2496, allocations: 6.69 MB / 0.8712 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005961/0.2502, allocations: 43.95 kB / 0.8712 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.013e-05/0.2502, allocations: 24 kB / 0.8713 GB, free: 15.52 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.0004064/0.2506, allocations: 258.1 kB / 0.8715 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.2508, allocations: 79.59 kB / 0.8716 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.2524, allocations: 0.8768 MB / 0.8724 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.2524, allocations: 4 kB / 0.8725 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.2524, allocations: 4 kB / 0.8725 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2524, allocations: 3.984 kB / 0.8725 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002978/0.2554, allocations: 1.599 MB / 0.874 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.2554, allocations: 7.938 kB / 0.874 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.2557, allocations: 63.89 kB / 0.8741 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000764/0.2565, allocations: 259.4 kB / 0.8743 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/0.2565, allocations: 12 kB / 0.8743 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007451/0.264, allocations: 6.682 MB / 0.8809 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.264, allocations: 0 / 0.8809 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.2656, allocations: 0.9878 MB / 0.8818 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004024/0.266, allocations: 119.5 kB / 0.882 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.2662, allocations: 11.94 kB / 0.882 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.2666, allocations: 31.95 kB / 0.882 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.2667, allocations: 39.92 kB / 0.882 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.2668, allocations: 16 kB / 0.882 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005682/0.2673, allocations: 387.1 kB / 0.8824 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2673, allocations: 4 kB / 0.8824 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009661/0.2683, allocations: 224 kB / 0.8826 GB, free: 3.258 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.002145/0.2704, allocations: 1.533 MB / 0.8841 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002361/0.2728, allocations: 1.224 MB / 0.8853 GB, free: 400 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.2728, allocations: 0 / 0.8853 GB, free: 400 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001353/0.2742, allocations: 0.866 MB / 0.8862 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.2753, allocations: 217 kB / 0.8864 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.2855, allocations: 6.383 MB / 0.8926 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.2861, allocations: 423.5 kB / 0.893 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004502/0.2866, allocations: 122 kB / 0.8931 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003684/0.2869, allocations: 247.4 kB / 0.8934 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of SimCode: time 1.242e-06/0.2869, allocations: 0 / 0.8934 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09356/0.3805, allocations: 19.25 MB / 0.9122 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.32, allocations: 17.23 kB / 0.9122 GB, free: 4.93 MB / 0.6544 GB " [Timeout remaining time 648] (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: 16.620665036141872] Failed to read output from testmodel.py, exit status != 0: 12.43338570324704 12.449250551 12.230132473 Calling exit ...