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.001369/0.001369, 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.001338/0.001338, allocations: 218.1 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.368/1.368, allocations: 230.6 MB / 256 MB, free: 7.969 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.002523/0.002523, allocations: 282.8 kB / 312.7 MB, free: 2.789 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.152/1.152, allocations: 180.6 MB / 0.5369 GB, free: 13.06 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.00272/0.00272, allocations: 96.08 kB / 0.7396 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1573, allocations: 95.38 MB / 0.8327 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01845/0.1757, allocations: 15.33 MB / 0.8477 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01572/0.1914, allocations: 10.76 MB / 0.8582 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.1926, allocations: 79.31 kB / 0.8583 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004494/0.1971, allocations: 1.757 MB / 0.86 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004816/0.2019, allocations: 1.855 MB / 0.8618 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.2038, allocations: 0.7736 MB / 0.8626 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003802/0.2076, allocations: 2.757 MB / 0.8653 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001846/0.2094, allocations: 1.207 MB / 0.8664 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002235/0.2117, allocations: 1.562 MB / 0.868 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.2138, allocations: 1.222 MB / 0.8692 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000357/0.2141, allocations: 163.9 kB / 0.8693 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.2157, allocations: 0.7994 MB / 0.8701 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007046/0.2164, allocations: 0.6152 MB / 0.8707 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.2176, allocations: 0.9639 MB / 0.8716 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003307/0.2209, allocations: 2.782 MB / 0.8744 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2209, allocations: 0 / 0.8744 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.71e-07/0.2209, allocations: 3.938 kB / 0.8744 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.897e-05/0.221, allocations: 4 kB / 0.8744 GB, free: 13.85 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.004398/0.2254, allocations: 2.152 MB / 0.8765 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.2254, allocations: 8.75 kB / 0.8765 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002744/0.2257, allocations: 190.4 kB / 0.8767 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/0.2369, allocations: 2.121 MB / 0.8787 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002984/0.2399, allocations: 1.225 MB / 0.8799 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-05/0.2399, allocations: 86.69 kB / 0.88 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/0.2402, allocations: 119.9 kB / 0.8801 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005462/0.2456, allocations: 2.671 MB / 0.8827 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/0.2457, allocations: 15.83 kB / 0.8827 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.2458, allocations: 59.95 kB / 0.8828 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000599/0.2464, allocations: 194.1 kB / 0.883 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007199/0.2536, allocations: 2.795 MB / 0.8857 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01472/0.2684, allocations: 10.37 MB / 0.8958 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006096/0.2744, allocations: 2.191 MB / 0.898 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002922/0.2774, allocations: 1.2 MB / 0.8992 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.799e-05/0.2774, allocations: 20.91 kB / 0.8992 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.2775, allocations: 47.56 kB / 0.8992 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 2.365e-06/0.2775, allocations: 0 / 0.8992 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of matching and sorting (n=153): time 0.05618/0.3337, allocations: 15.99 MB / 0.9148 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.3337, allocations: 68.66 kB / 0.9149 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.3354, allocations: 1.184 MB / 0.9161 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001733/0.3355, allocations: 45.7 kB / 0.9161 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006002/0.3361, allocations: 0.7607 MB / 0.9168 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005146/0.3366, allocations: 0.5383 MB / 0.9174 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005359/0.3372, allocations: 291.5 kB / 0.9176 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3373, allocations: 309 kB / 0.9179 GB, free: 296 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003425/0.3407, allocations: 1.503 MB / 0.9194 GB, free: 14.78 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003604/0.3443, allocations: 1.788 MB / 0.9212 GB, free: 12.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007064/0.3514, allocations: 3.369 MB / 0.9244 GB, free: 9.434 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.3514, allocations: 8 kB / 0.9245 GB, free: 9.426 MB / 0.67 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01293/0.3643, allocations: 5.211 MB / 0.9295 GB, free: 4.176 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.3644, allocations: 8 kB / 0.9296 GB, free: 4.168 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.3644, allocations: 4 kB / 0.9296 GB, free: 4.164 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006584/0.371, allocations: 1.884 MB / 0.9314 GB, free: 2.258 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/0.3728, allocations: 411.3 kB / 0.9318 GB, free: 1.855 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03009/0.4029, allocations: 23.34 MB / 0.9546 GB, free: 9.613 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/0.4055, allocations: 303.5 kB / 0.9549 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/0.4056, allocations: 71.91 kB / 0.9549 GB, free: 9.246 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.0008682/0.4065, allocations: 469.5 kB / 0.9554 GB, free: 8.777 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/0.4068, allocations: 182.9 kB / 0.9556 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/0.42, allocations: 5.246 MB / 0.9607 GB, free: 3.305 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.42, allocations: 16 kB / 0.9607 GB, free: 3.289 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-05/0.4201, allocations: 16 kB / 0.9607 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.4201, allocations: 7.969 kB / 0.9607 GB, free: 3.266 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/0.4364, allocations: 7.34 MB / 0.9679 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.4364, allocations: 4.344 kB / 0.9679 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/0.4381, allocations: 355.4 kB / 0.9682 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005791/0.4438, allocations: 1.698 MB / 0.9699 GB, free: 9.734 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/0.444, allocations: 47.91 kB / 0.9699 GB, free: 9.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.355/0.799, allocations: 22.49 MB / 0.9919 GB, free: 128.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.799, allocations: 9.094 kB / 0.9919 GB, free: 128.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/0.8105, allocations: 4.831 MB / 0.9966 GB, free: 127 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.8116, allocations: 424.5 kB / 0.997 GB, free: 126.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002496/0.8119, allocations: 29.94 kB / 0.9971 GB, free: 126.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002084/0.8139, allocations: 320.3 kB / 0.9974 GB, free: 126.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005516/0.8145, allocations: 157.3 kB / 0.9975 GB, free: 126.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/0.8146, allocations: 57.75 kB / 0.9976 GB, free: 126.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001108/0.8158, allocations: 0.7934 MB / 0.9983 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8158, allocations: 0 / 0.9983 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001975/0.8177, allocations: 0.6581 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.01057/0.8283, allocations: 5.415 MB / 1.004 GB, free: 124.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00901/0.8373, allocations: 4.912 MB / 1.009 GB, free: 122.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.8373, allocations: 3.938 kB / 1.009 GB, free: 122.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005518/0.8428, allocations: 3.279 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.001959/0.8448, allocations: 0.564 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.03487/0.8797, 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.0008092/0.8805, allocations: 1.568 MB / 1.036 GB, free: 100.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001106/0.8816, allocations: 389 kB / 1.036 GB, free: 100 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000659/0.8822, allocations: 0.6554 MB / 1.037 GB, free: 99.35 MB / 0.7169 GB Notification: Performance of SimCode: time 5.91e-07/0.8822, allocations: 0 / 1.037 GB, free: 99.35 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.101/0.9833, allocations: 60.79 MB / 1.096 GB, free: 39.23 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.73/21.72, allocations: 7.297 kB / 1.096 GB, free: 39.23 MB / 0.7169 GB " [Timeout remaining time 638] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 25.73016641708091] Failed to read output from testmodel.py, exit status != 0: 21.857188372174278 21.875537908 21.650998071 Calling exit ...