Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001299/0.001299, 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.00148/0.00148, allocations: 215.2 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.413/1.413, allocations: 230.6 MB / 256 MB, free: 8.004 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.002687/0.002687, allocations: 282.5 kB / 312.7 MB, free: 2.805 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.213/1.213, allocations: 180.6 MB / 0.5369 GB, free: 13 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.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.004277/0.004277, allocations: 101.8 kB / 0.7396 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1697, allocations: 95.38 MB / 0.8327 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01895/0.1887, allocations: 15.34 MB / 0.8477 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01632/0.205, allocations: 10.76 MB / 0.8582 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.2064, allocations: 83.25 kB / 0.8583 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004631/0.211, allocations: 1.749 MB / 0.86 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005007/0.216, allocations: 1.857 MB / 0.8618 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.2181, allocations: 0.7755 MB / 0.8626 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003985/0.222, allocations: 2.768 MB / 0.8653 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/0.2237, allocations: 1.207 MB / 0.8665 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002135/0.2259, allocations: 1.547 MB / 0.868 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.2276, allocations: 1.226 MB / 0.8692 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002414/0.2279, allocations: 160 kB / 0.8693 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.2293, allocations: 0.8111 MB / 0.8701 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005966/0.2299, allocations: 0.6269 MB / 0.8707 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009483/0.2309, allocations: 0.9484 MB / 0.8716 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003087/0.234, allocations: 2.779 MB / 0.8744 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.234, allocations: 0 / 0.8744 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.182e-06/0.234, allocations: 0 / 0.8744 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.544e-05/0.234, allocations: 3.984 kB / 0.8744 GB, free: 13.83 MB / 0.6231 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.003966/0.238, allocations: 2.144 MB / 0.8765 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.238, allocations: 12.75 kB / 0.8765 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002517/0.2382, allocations: 198.3 kB / 0.8767 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/0.2497, allocations: 2.125 MB / 0.8787 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002979/0.2527, allocations: 1.221 MB / 0.8799 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-05/0.2528, allocations: 94.69 kB / 0.88 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002665/0.253, allocations: 115.9 kB / 0.8801 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005792/0.2588, allocations: 2.671 MB / 0.8827 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.013e-05/0.2589, allocations: 11.89 kB / 0.8827 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/0.259, allocations: 63.91 kB / 0.8828 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006386/0.2597, allocations: 194.1 kB / 0.883 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007504/0.2672, allocations: 2.787 MB / 0.8857 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01555/0.2827, allocations: 10.38 MB / 0.8958 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00649/0.2892, allocations: 2.187 MB / 0.898 GB, free: 4.797 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003113/0.2923, allocations: 1.206 MB / 0.8992 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-05/0.2924, allocations: 9 kB / 0.8992 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.2924, allocations: 43.56 kB / 0.8992 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 2.845e-06/0.2925, allocations: 0 / 0.8992 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of matching and sorting (n=153): time 0.05967/0.3521, allocations: 16 MB / 0.9148 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.3522, allocations: 72.72 kB / 0.9149 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.3538, allocations: 1.184 MB / 0.9161 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.354, allocations: 49.7 kB / 0.9161 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006192/0.3546, allocations: 0.7606 MB / 0.9168 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005338/0.3551, allocations: 0.5344 MB / 0.9174 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005754/0.3557, allocations: 287.5 kB / 0.9176 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3558, allocations: 313.1 kB / 0.9179 GB, free: 264 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003631/0.3595, allocations: 1.51 MB / 0.9194 GB, free: 14.75 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003864/0.3633, allocations: 1.776 MB / 0.9212 GB, free: 12.88 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007602/0.3709, allocations: 3.373 MB / 0.9244 GB, free: 9.406 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.493e-06/0.3709, allocations: 0 / 0.9244 GB, free: 9.406 MB / 0.67 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01382/0.3848, allocations: 5.204 MB / 0.9295 GB, free: 4.164 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.3848, allocations: 8.125 kB / 0.9295 GB, free: 4.156 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.3848, allocations: 12 kB / 0.9295 GB, free: 4.145 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007132/0.3919, allocations: 1.884 MB / 0.9314 GB, free: 2.238 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/0.3939, allocations: 419.2 kB / 0.9318 GB, free: 1.828 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0311/0.425, allocations: 23.33 MB / 0.9546 GB, free: 9.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/0.4276, allocations: 311.6 kB / 0.9549 GB, free: 9.285 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001947/0.4278, allocations: 67.91 kB / 0.9549 GB, free: 9.219 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008534/0.4286, allocations: 471.8 kB / 0.9554 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003296/0.4289, allocations: 182.9 kB / 0.9556 GB, free: 8.57 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01383/0.4428, allocations: 5.249 MB / 0.9607 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.4428, allocations: 16 kB / 0.9607 GB, free: 3.258 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.417e-05/0.4428, allocations: 23.94 kB / 0.9607 GB, free: 3.234 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.222e-05/0.4429, allocations: 7.969 kB / 0.9607 GB, free: 3.227 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01782/0.4607, allocations: 7.328 MB / 0.9679 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.4607, allocations: 4 kB / 0.9679 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/0.4623, allocations: 351.4 kB / 0.9682 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006079/0.4684, allocations: 1.707 MB / 0.9699 GB, free: 9.707 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/0.4686, allocations: 48 kB / 0.9699 GB, free: 9.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3781/0.8467, allocations: 22.49 MB / 0.9919 GB, free: 128.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.8467, allocations: 6.594 kB / 0.9919 GB, free: 128.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/0.8588, allocations: 4.829 MB / 0.9966 GB, free: 127.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/0.8602, allocations: 425.3 kB / 0.997 GB, free: 126.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002969/0.8605, allocations: 33.38 kB / 0.9971 GB, free: 126.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002145/0.8626, allocations: 316.9 kB / 0.9974 GB, free: 126.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000617/0.8632, allocations: 160.6 kB / 0.9975 GB, free: 126.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/0.8634, allocations: 57.2 kB / 0.9976 GB, free: 126.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001281/0.8647, allocations: 0.7891 MB / 0.9983 GB, free: 126.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8647, allocations: 0 / 0.9983 GB, free: 126.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00253/0.8672, allocations: 0.6548 MB / 0.999 GB, free: 126.5 MB / 0.7169 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01117/0.8784, allocations: 5.418 MB / 1.004 GB, free: 124.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009721/0.8881, allocations: 4.915 MB / 1.009 GB, free: 122.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.8881, allocations: 0 / 1.009 GB, free: 122.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006093/0.8942, allocations: 3.277 MB / 1.012 GB, free: 120.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/0.8967, allocations: 0.5658 MB / 1.013 GB, free: 120.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03788/0.9346, allocations: 21.78 MB / 1.034 GB, free: 102 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000872/0.9354, allocations: 1.568 MB / 1.036 GB, free: 100.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001253/0.9367, allocations: 392.9 kB / 1.036 GB, free: 99.97 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006958/0.9374, allocations: 0.6577 MB / 1.037 GB, free: 99.31 MB / 0.7169 GB Notification: Performance of SimCode: time 9.22e-07/0.9374, allocations: 0 / 1.037 GB, free: 99.31 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1436/1.081, allocations: 60.79 MB / 1.096 GB, free: 39.2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.39/22.47, allocations: 11.8 kB / 1.096 GB, free: 39.2 MB / 0.7169 GB " [Timeout remaining time 637] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_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_ACLineMedium.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.684918953997112] Failed to read output from testmodel.py, exit status != 0: 22.60619652999958 22.61606494 22.379811999 Calling exit ...