Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001593/0.001593, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001868/0.001868, allocations: 222.8 kB / 22.26 MB, free: 5.215 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 8.02 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.003348/0.003348, allocations: 293 kB / 312.7 MB, free: 2.82 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.245/1.245, allocations: 180.6 MB / 0.5369 GB, free: 13.02 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,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.002975/0.002975, allocations: 99.12 kB / 0.7396 GB, free: 28.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1675, allocations: 95.39 MB / 0.8327 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01855/0.186, allocations: 14.59 MB / 0.847 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01595/0.202, allocations: 9.79 MB / 0.8565 GB, free: 220 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.2034, allocations: 79.31 kB / 0.8566 GB, free: 140 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004821/0.2082, allocations: 1.739 MB / 0.8583 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004928/0.2131, allocations: 1.589 MB / 0.8599 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.2154, allocations: 0.774 MB / 0.8606 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004049/0.2194, allocations: 2.524 MB / 0.8631 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002152/0.2216, allocations: 1.192 MB / 0.8643 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.2236, allocations: 1.09 MB / 0.8653 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002378/0.2259, allocations: 1.203 MB / 0.8665 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004557/0.2264, allocations: 164 kB / 0.8666 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.2288, allocations: 0.8072 MB / 0.8674 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009484/0.2297, allocations: 0.6425 MB / 0.8681 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.2313, allocations: 0.9445 MB / 0.869 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004092/0.2354, allocations: 2.767 MB / 0.8717 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.2354, allocations: 0 / 0.8717 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2354, allocations: 4 kB / 0.8717 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.759e-05/0.2354, allocations: 0 / 0.8717 GB, free: 0.6133 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004957/0.2404, allocations: 2.117 MB / 0.8738 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.2404, allocations: 9.344 kB / 0.8738 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002976/0.2407, allocations: 198.4 kB / 0.874 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/0.2521, allocations: 2.098 MB / 0.876 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003266/0.2553, allocations: 1.208 MB / 0.8772 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.539e-05/0.2554, allocations: 94.72 kB / 0.8773 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003511/0.2558, allocations: 123.9 kB / 0.8774 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006277/0.2621, allocations: 2.675 MB / 0.88 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.208e-05/0.2621, allocations: 7.938 kB / 0.88 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/0.2623, allocations: 51.98 kB / 0.8801 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006427/0.2629, allocations: 182.1 kB / 0.8802 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007979/0.2709, allocations: 2.803 MB / 0.883 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01718/0.2881, allocations: 10.38 MB / 0.8931 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006759/0.2949, allocations: 2.223 MB / 0.8953 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003197/0.2981, allocations: 1.21 MB / 0.8965 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-05/0.2981, allocations: 9 kB / 0.8965 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.2982, allocations: 47.55 kB / 0.8965 GB, free: 6.34 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 2.434e-06/0.2982, allocations: 4 kB / 0.8965 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of matching and sorting (n=131): time 0.04607/0.3442, allocations: 12.66 MB / 0.9089 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.3443, allocations: 64.72 kB / 0.9089 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.346, allocations: 1.117 MB / 0.91 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002221/0.3462, allocations: 49.7 kB / 0.9101 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000606/0.3468, allocations: 0.7287 MB / 0.9108 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005159/0.3473, allocations: 475.9 kB / 0.9112 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005005/0.3478, allocations: 267.5 kB / 0.9115 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.348, allocations: 357.9 kB / 0.9118 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003467/0.3514, allocations: 1.339 MB / 0.9132 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003681/0.3551, allocations: 1.604 MB / 0.9147 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007117/0.3622, allocations: 2.991 MB / 0.9176 GB, free: 416 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.3623, allocations: 8 kB / 0.9176 GB, free: 408 kB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01196/0.3742, allocations: 4.404 MB / 0.9219 GB, free: 11.94 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.3742, allocations: 8 kB / 0.922 GB, free: 11.93 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.3743, allocations: 8 kB / 0.922 GB, free: 11.93 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005432/0.3797, allocations: 1.432 MB / 0.9234 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002101/0.3818, allocations: 439.2 kB / 0.9238 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02924/0.411, allocations: 25.37 MB / 0.9486 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002686/0.4137, allocations: 307.4 kB / 0.9488 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000245/0.414, allocations: 64.16 kB / 0.9489 GB, free: 14.79 MB / 0.7012 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009437/0.4149, allocations: 437.5 kB / 0.9493 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004095/0.4153, allocations: 170.9 kB / 0.9495 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0121/0.4274, allocations: 4.414 MB / 0.9538 GB, free: 9.719 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/0.4274, allocations: 12 kB / 0.9538 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.205e-05/0.4275, allocations: 12 kB / 0.9538 GB, free: 9.695 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.889e-05/0.4275, allocations: 7.969 kB / 0.9538 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01619/0.4437, allocations: 6.692 MB / 0.9604 GB, free: 2.832 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/0.4437, allocations: 4 kB / 0.9604 GB, free: 2.828 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/0.4456, allocations: 383.6 kB / 0.9607 GB, free: 2.453 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005013/0.4507, allocations: 1.302 MB / 0.962 GB, free: 1.109 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002752/0.4509, allocations: 39.97 kB / 0.962 GB, free: 1.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02811/0.479, allocations: 24.18 MB / 0.9857 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.4791, allocations: 7.938 kB / 0.9857 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/0.4906, allocations: 4.168 MB / 0.9897 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/0.492, allocations: 386.7 kB / 0.9901 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003663/0.4924, allocations: 24 kB / 0.9901 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002163/0.4946, allocations: 307.5 kB / 0.9904 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005223/0.4951, allocations: 136.6 kB / 0.9905 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.4952, allocations: 47.97 kB / 0.9906 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001216/0.4964, allocations: 0.7526 MB / 0.9913 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.4964, allocations: 0 / 0.9913 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002468/0.4989, allocations: 0.5742 MB / 0.9919 GB, free: 0.918 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.3986/0.8975, allocations: 4.74 MB / 0.9965 GB, free: 146.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01036/0.9078, allocations: 4.972 MB / 1.001 GB, free: 144.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.9078, allocations: 4.25 kB / 1.001 GB, free: 144.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006446/0.9143, allocations: 3.422 MB / 1.005 GB, free: 143.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/0.9168, allocations: 0.5436 MB / 1.005 GB, free: 143.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03904/0.9559, allocations: 19.35 MB / 1.024 GB, free: 135.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008848/0.9568, allocations: 1.475 MB / 1.026 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001405/0.9582, allocations: 429.7 kB / 1.026 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006882/0.9589, allocations: 0.6277 MB / 1.027 GB, free: 134.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.002e-06/0.9589, allocations: 0 / 1.027 GB, free: 134.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1271/1.086, allocations: 53.37 MB / 1.079 GB, free: 84.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.9/20.98, allocations: 13.88 kB / 1.079 GB, free: 84.47 MB / 0.7325 GB " [Timeout remaining time 639] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_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.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.22941595500015] Failed to read output from testmodel.py, exit status != 0: 21.133953235999797 21.15375551 20.914471525 Calling exit ...