Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.001296/0.001296, allocations: 110.6 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.001429/0.001429, allocations: 220.3 kB / 22.26 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.386/1.386, allocations: 230.6 MB / 256 MB, free: 7.953 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.00263/0.00263, allocations: 285.7 kB / 312.7 MB, free: 2.777 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.2/1.2, allocations: 180.6 MB / 0.5369 GB, free: 13.04 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_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.002928/0.002928, allocations: 111.2 kB / 0.7396 GB, free: 28.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.179, allocations: 95.38 MB / 0.8328 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04481/0.2238, allocations: 34.28 MB / 0.8662 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01958/0.2434, allocations: 10.67 MB / 0.8767 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002814/0.2462, allocations: 202.4 kB / 0.8768 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0104/0.2566, allocations: 3.891 MB / 0.8806 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005528/0.2622, allocations: 1.956 MB / 0.8826 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005992/0.2682, allocations: 2.191 MB / 0.8847 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01065/0.2788, allocations: 7.326 MB / 0.8919 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01034/0.2891, allocations: 5.158 MB / 0.8969 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006647/0.2958, allocations: 3.272 MB / 0.9001 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006861/0.3027, allocations: 3.684 MB / 0.9037 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001927/0.3046, allocations: 0.6445 MB / 0.9043 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00556/0.3101, allocations: 1.802 MB / 0.9061 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004307/0.3144, allocations: 2.607 MB / 0.9086 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006674/0.3211, allocations: 2.898 MB / 0.9114 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01434/0.3355, allocations: 10.14 MB / 0.9213 GB, free: 13.54 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.3355, allocations: 0 / 0.9213 GB, free: 13.54 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3355, allocations: 0 / 0.9213 GB, free: 13.54 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002483/0.3357, allocations: 0 / 0.9213 GB, free: 13.54 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01211/0.3478, allocations: 5.057 MB / 0.9263 GB, free: 8.426 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.3479, allocations: 17.86 kB / 0.9263 GB, free: 8.41 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001571/0.3494, allocations: 0.6781 MB / 0.927 GB, free: 7.723 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006209/0.3557, allocations: 0.9735 MB / 0.9279 GB, free: 6.746 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009683/0.3653, allocations: 3.007 MB / 0.9309 GB, free: 3.668 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004231/0.3658, allocations: 349.7 kB / 0.9312 GB, free: 3.324 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002335/0.3681, allocations: 464.3 kB / 0.9316 GB, free: 2.871 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01956/0.3877, allocations: 7.663 MB / 0.9391 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001605/0.3878, allocations: 31.72 kB / 0.9391 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007377/0.3886, allocations: 200 kB / 0.9393 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003763/0.3889, allocations: 316.9 kB / 0.9396 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01254/0.4015, allocations: 5.702 MB / 0.9452 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04293/0.4444, allocations: 34.56 MB / 0.979 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/0.4473, allocations: 1.557 MB / 0.9805 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/0.4491, allocations: 1.128 MB / 0.9816 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.5e-05/0.4492, allocations: 13.31 kB / 0.9816 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.4492, allocations: 43.88 kB / 0.9816 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 3.015e-06/0.4492, allocations: 4 kB / 0.9816 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.0142/0.4634, allocations: 6.211 MB / 0.9877 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.4635, allocations: 72.66 kB / 0.9878 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/0.4656, allocations: 1.484 MB / 0.9892 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001857/0.4658, allocations: 49.7 kB / 0.9893 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001558/0.4673, allocations: 2.069 MB / 0.9913 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005826/0.4679, allocations: 0.4957 MB / 0.9918 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005356/0.4685, allocations: 355.4 kB / 0.9921 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4686, allocations: 305.1 kB / 0.9924 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3414/0.8099, allocations: 0.9107 MB / 0.9933 GB, free: 146.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002126/0.8121, allocations: 1.592 MB / 0.9948 GB, free: 145.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003564/0.8156, allocations: 2.741 MB / 0.9975 GB, free: 144.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.292e-05/0.8157, allocations: 6.875 kB / 0.9975 GB, free: 144.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005982/0.8216, allocations: 3.512 MB / 1.001 GB, free: 143.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.8217, allocations: 15.06 kB / 1.001 GB, free: 143.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.767e-05/0.8217, allocations: 23.25 kB / 1.001 GB, free: 143.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002492/0.8242, allocations: 0.9005 MB / 1.002 GB, free: 143 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.8254, allocations: 349.9 kB / 1.002 GB, free: 143 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/0.8444, allocations: 21.88 MB / 1.024 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.8461, allocations: 108.9 kB / 1.024 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002872/0.8464, allocations: 82.61 kB / 1.024 GB, free: 124.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.003273/0.8497, allocations: 1.612 MB / 1.025 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006405/0.8503, allocations: 211.3 kB / 1.026 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005325/0.8557, allocations: 2.96 MB / 1.028 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.8557, allocations: 13.91 kB / 1.028 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-05/0.8557, allocations: 14.69 kB / 1.028 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.8557, allocations: 11.44 kB / 1.028 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/0.8673, allocations: 7.294 MB / 1.036 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.8673, allocations: 7.812 kB / 1.036 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006992/0.868, allocations: 176.9 kB / 1.036 GB, free: 119.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002074/0.8701, allocations: 0.8339 MB / 1.037 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.8702, allocations: 24.59 kB / 1.037 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01417/0.8844, allocations: 20.73 MB / 1.057 GB, free: 100.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.192e-05/0.8844, allocations: 3.312 kB / 1.057 GB, free: 100.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004507/0.8889, allocations: 3.02 MB / 1.06 GB, free: 98.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.8901, allocations: 390.5 kB / 1.06 GB, free: 97.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002808/0.8904, allocations: 31.28 kB / 1.06 GB, free: 97.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007681/0.8912, allocations: 71.91 kB / 1.06 GB, free: 97.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003505/0.8915, allocations: 132.6 kB / 1.06 GB, free: 97.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-05/0.8916, allocations: 36 kB / 1.06 GB, free: 97.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001149/0.8927, allocations: 0.9795 MB / 1.061 GB, free: 96.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8927, allocations: 0 / 1.061 GB, free: 96.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002906/0.8956, allocations: 0.7852 MB / 1.062 GB, free: 95.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004118/0.8998, allocations: 3.603 MB / 1.066 GB, free: 92.08 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004997/0.9048, allocations: 3.921 MB / 1.07 GB, free: 88.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.9048, allocations: 4 kB / 1.07 GB, free: 88.01 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003257/0.908, allocations: 2.667 MB / 1.072 GB, free: 85.19 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/0.9111, allocations: 0.7421 MB / 1.073 GB, free: 84.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0313/0.9424, allocations: 22.52 MB / 1.095 GB, free: 60.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002633/0.945, allocations: 3.109 MB / 1.098 GB, free: 57.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001294/0.9463, allocations: 457.9 kB / 1.098 GB, free: 57.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/0.9478, allocations: 1.534 MB / 1.1 GB, free: 55.85 MB / 0.7325 GB Notification: Performance of SimCode: time 1.613e-06/0.9478, allocations: 7.938 kB / 1.1 GB, free: 55.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.134/1.082, allocations: 63.5 MB / 1.162 GB, free: 9.004 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.24/15.33, allocations: 7.797 kB / 1.162 GB, free: 8.996 MB / 0.7481 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.488210261999484] Failed to read output from testmodel.py, exit status != 0: 15.468094695002947 15.48431344 15.145318724 Calling exit ...