Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.001325/0.001325, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001546/0.001546, allocations: 218.2 kB / 22.25 MB, free: 5.125 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.988 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.002482/0.002482, allocations: 278.9 kB / 312.7 MB, free: 2.812 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.224/1.224, allocations: 180.6 MB / 0.5369 GB, free: 13.05 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_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.002851/0.002851, allocations: 91.67 kB / 0.7396 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.175, allocations: 95.38 MB / 0.8327 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009039/0.184, allocations: 7.078 MB / 0.8396 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005281/0.1893, allocations: 3.223 MB / 0.8428 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004509/0.1897, allocations: 39.62 kB / 0.8428 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002486/0.1922, allocations: 0.9825 MB / 0.8438 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.1934, allocations: 0.5207 MB / 0.8443 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.1944, allocations: 453.1 kB / 0.8447 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.1957, allocations: 1.236 MB / 0.8459 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007629/0.1965, allocations: 0.5296 MB / 0.8465 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006032/0.1971, allocations: 490.3 kB / 0.8469 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007174/0.1978, allocations: 0.5565 MB / 0.8475 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.1979, allocations: 71.94 kB / 0.8475 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006471/0.1986, allocations: 391.2 kB / 0.8479 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002952/0.1988, allocations: 315.1 kB / 0.8482 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004134/0.1993, allocations: 453.7 kB / 0.8486 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.2006, allocations: 1.222 MB / 0.8498 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2006, allocations: 0 / 0.8498 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2006, allocations: 0 / 0.8498 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.2006, allocations: 4 kB / 0.8498 GB, free: 7.105 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.001899/0.2025, allocations: 1.119 MB / 0.8509 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.2025, allocations: 13.94 kB / 0.8509 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001355/0.2027, allocations: 118.6 kB / 0.8511 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.2041, allocations: 248.1 kB / 0.8513 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.2052, allocations: 0.5398 MB / 0.8518 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.566e-05/0.2052, allocations: 53.61 kB / 0.8519 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.2053, allocations: 56.38 kB / 0.8519 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.2068, allocations: 1.093 MB / 0.853 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.2068, allocations: 11.92 kB / 0.853 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-05/0.2069, allocations: 28 kB / 0.853 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001445/0.207, allocations: 81.27 kB / 0.8531 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.2082, allocations: 0.7543 MB / 0.8538 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005553/0.2138, allocations: 5.799 MB / 0.8595 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009811/0.2147, allocations: 0.5046 MB / 0.86 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004245/0.2152, allocations: 288.3 kB / 0.8603 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.189e-05/0.2152, allocations: 8.422 kB / 0.8603 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.2152, allocations: 42.94 kB / 0.8603 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 1.874e-06/0.2152, allocations: 0 / 0.8603 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.003649/0.2189, allocations: 1.682 MB / 0.862 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.2189, allocations: 55.84 kB / 0.862 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006462/0.2196, allocations: 0.5704 MB / 0.8626 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.2196, allocations: 41.64 kB / 0.8626 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.2199, allocations: 420.1 kB / 0.863 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.2201, allocations: 182.5 kB / 0.8632 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.2202, allocations: 122.6 kB / 0.8633 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.2204, allocations: 382.7 kB / 0.8637 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/0.2208, allocations: 277.8 kB / 0.8639 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005622/0.2214, allocations: 496.9 kB / 0.8644 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.2224, allocations: 0.8083 MB / 0.8652 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.2224, allocations: 4 kB / 0.8652 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001789/0.2242, allocations: 1.078 MB / 0.8663 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.2242, allocations: 9.875 kB / 0.8663 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.2242, allocations: 8 kB / 0.8663 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008099/0.2251, allocations: 283.9 kB / 0.8666 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/0.2255, allocations: 127.8 kB / 0.8667 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006817/0.2323, allocations: 6.725 MB / 0.8732 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005713/0.2329, allocations: 43.95 kB / 0.8733 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/0.233, allocations: 28 kB / 0.8733 GB, free: 13.7 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.0003591/0.2333, allocations: 262.2 kB / 0.8736 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.2334, allocations: 71.58 kB / 0.8736 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.235, allocations: 0.8808 MB / 0.8745 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.235, allocations: 4 kB / 0.8745 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.235, allocations: 4 kB / 0.8745 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.235, allocations: 3.984 kB / 0.8745 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002643/0.2377, allocations: 1.684 MB / 0.8761 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.2377, allocations: 3.938 kB / 0.8761 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.2379, allocations: 67.88 kB / 0.8762 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007399/0.2387, allocations: 279.4 kB / 0.8765 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/0.2387, allocations: 19.94 kB / 0.8765 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0066/0.2453, allocations: 6.714 MB / 0.8831 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2453, allocations: 0 / 0.8831 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.2469, allocations: 0.9762 MB / 0.884 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003019/0.2472, allocations: 115.5 kB / 0.8841 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.023e-05/0.2473, allocations: 19.92 kB / 0.8841 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.2476, allocations: 27.97 kB / 0.8842 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.2477, allocations: 47.81 kB / 0.8842 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.2478, allocations: 20 kB / 0.8842 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004449/0.2482, allocations: 387.1 kB / 0.8846 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.2482, allocations: 0 / 0.8846 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007803/0.249, allocations: 228 kB / 0.8848 GB, free: 1.297 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.001789/0.2508, allocations: 1.533 MB / 0.8863 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00196/0.2527, allocations: 1.224 MB / 0.8875 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2527, allocations: 4.062 kB / 0.8875 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.254, allocations: 0.8618 MB / 0.8884 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.0009507/0.2549, allocations: 225.4 kB / 0.8886 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008729/0.2636, allocations: 6.414 MB / 0.8948 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006578/0.2643, allocations: 1.016 MB / 0.8958 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003539/0.2647, allocations: 118 kB / 0.8959 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/0.265, allocations: 259.3 kB / 0.8962 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of SimCode: time 5.61e-07/0.265, allocations: 4 kB / 0.8962 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05915/0.3241, allocations: 18.2 MB / 0.914 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.15, allocations: 7.281 kB / 0.914 GB, free: 3.25 MB / 0.6544 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.396502097002667] Failed to read output from testmodel.py, exit status != 0: 12.286023516997375 12.312938955 12.107488807 Calling exit ...