Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.001821/0.001821, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002299/0.002299, allocations: 212.5 kB / 22.24 MB, free: 4.855 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.812 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.002555/0.002555, allocations: 286.1 kB / 312.7 MB, free: 2.691 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.207/1.207, allocations: 180.6 MB / 0.5369 GB, free: 14.49 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_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.00302/0.00302, allocations: 102.1 kB / 0.7395 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1661, allocations: 95.4 MB / 0.8327 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04017/0.2063, allocations: 31.69 MB / 0.8636 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02396/0.2302, allocations: 14.47 MB / 0.8777 GB, free: 10 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004181/0.2344, allocations: 202.4 kB / 0.8779 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01043/0.2448, allocations: 3.669 MB / 0.8815 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009685/0.2545, allocations: 2.98 MB / 0.8844 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006998/0.2615, allocations: 2.344 MB / 0.8867 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01168/0.2732, allocations: 8.804 MB / 0.8953 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008253/0.2814, allocations: 5.479 MB / 0.9007 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006099/0.2875, allocations: 4.102 MB / 0.9047 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006091/0.2936, allocations: 3.99 MB / 0.9086 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001118/0.2947, allocations: 0.7187 MB / 0.9093 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003114/0.2979, allocations: 1.611 MB / 0.9108 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002867/0.3007, allocations: 2.903 MB / 0.9137 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003667/0.3044, allocations: 2.751 MB / 0.9164 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01248/0.3169, allocations: 11.29 MB / 0.9274 GB, free: 6.902 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.3169, allocations: 4 kB / 0.9274 GB, free: 6.898 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3169, allocations: 0 / 0.9274 GB, free: 6.898 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002222/0.3171, allocations: 0 / 0.9274 GB, free: 6.898 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.0131/0.3302, allocations: 6.049 MB / 0.9333 GB, free: 0.7812 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.3303, allocations: 9.344 kB / 0.9333 GB, free: 0.7734 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001347/0.3316, allocations: 0.7232 MB / 0.934 GB, free: 40 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007424/0.339, allocations: 1.168 MB / 0.9351 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009289/0.3483, allocations: 3.478 MB / 0.9385 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003233/0.3486, allocations: 374.4 kB / 0.9389 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001138/0.3498, allocations: 0.4921 MB / 0.9394 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01407/0.3639, allocations: 8.855 MB / 0.948 GB, free: 1.102 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000128/0.364, allocations: 23.81 kB / 0.9481 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005231/0.3645, allocations: 220 kB / 0.9483 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001123/0.3656, allocations: 437.6 kB / 0.9487 GB, free: 444 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01051/0.3761, allocations: 6.077 MB / 0.9546 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03657/0.4127, allocations: 22.05 MB / 0.9761 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002972/0.4157, allocations: 1.909 MB / 0.978 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002608/0.4183, allocations: 1.748 MB / 0.9797 GB, free: 140 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.4184, allocations: 18 kB / 0.9797 GB, free: 124 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.295e-05/0.4185, allocations: 68.44 kB / 0.9798 GB, free: 44 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=171): time 4.007e-06/0.4185, allocations: 0 / 0.9798 GB, free: 44 kB / 0.7169 GB Notification: Performance of matching and sorting (n=276): time 0.5199/0.9384, allocations: 38.69 MB / 1.018 GB, free: 115.2 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.9384, allocations: 81.58 kB / 1.018 GB, free: 115.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002961/0.9414, allocations: 2.317 MB / 1.02 GB, free: 112.8 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002511/0.9416, allocations: 77.69 kB / 1.02 GB, free: 112.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.9428, allocations: 2.329 MB / 1.022 GB, free: 110.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007269/0.9435, allocations: 0.9818 MB / 1.023 GB, free: 109.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009103/0.9444, allocations: 0.5141 MB / 1.024 GB, free: 109.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.046e-05/0.9444, allocations: 305.1 kB / 1.024 GB, free: 109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002297/0.9467, allocations: 1.977 MB / 1.026 GB, free: 107 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002562/0.9493, allocations: 2.604 MB / 1.028 GB, free: 104.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00508/0.9544, allocations: 4.929 MB / 1.033 GB, free: 98.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/0.9544, allocations: 4 kB / 1.033 GB, free: 98.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01218/0.9666, allocations: 7.647 MB / 1.041 GB, free: 91.26 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.9666, allocations: 12 kB / 1.041 GB, free: 91.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/0.9666, allocations: 20 kB / 1.041 GB, free: 91.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008373/0.975, allocations: 3.208 MB / 1.044 GB, free: 88.01 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.9765, allocations: 406.4 kB / 1.044 GB, free: 87.61 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03607/1.013, allocations: 32.76 MB / 1.076 GB, free: 54.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/1.016, allocations: 159.8 kB / 1.076 GB, free: 54.04 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003615/1.016, allocations: 115.3 kB / 1.077 GB, free: 53.93 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002682/1.019, allocations: 1.794 MB / 1.078 GB, free: 52.12 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007399/1.019, allocations: 349.8 kB / 1.079 GB, free: 51.78 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/1.031, allocations: 7.239 MB / 1.086 GB, free: 44.46 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.836e-05/1.031, allocations: 28 kB / 1.086 GB, free: 44.43 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.636e-05/1.031, allocations: 31.19 kB / 1.086 GB, free: 44.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/1.031, allocations: 11.95 kB / 1.086 GB, free: 44.39 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02112/1.052, allocations: 12.15 MB / 1.098 GB, free: 32.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/1.052, allocations: 8 kB / 1.098 GB, free: 32.12 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008497/1.053, allocations: 231.6 kB / 1.098 GB, free: 31.89 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007238/1.06, allocations: 2.84 MB / 1.101 GB, free: 29.03 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000222/1.06, allocations: 58.52 kB / 1.101 GB, free: 28.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03563/1.096, allocations: 31.53 MB / 1.132 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/1.096, allocations: 15.92 kB / 1.132 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/1.11, allocations: 6.79 MB / 1.138 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002387/1.112, allocations: 0.7231 MB / 1.139 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007741/1.113, allocations: 59.94 kB / 1.139 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/1.115, allocations: 167.8 kB / 1.139 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008209/1.116, allocations: 273.2 kB / 1.139 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/1.116, allocations: 77.08 kB / 1.139 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00254/1.119, allocations: 1.521 MB / 1.141 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/1.119, allocations: 0 / 1.141 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004088/1.123, allocations: 1.367 MB / 1.142 GB, free: 1.582 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01387/1.137, allocations: 7.418 MB / 1.149 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01255/1.149, allocations: 6.552 MB / 1.156 GB, free: 3.309 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.779e-05/1.149, allocations: 8.828 kB / 1.156 GB, free: 3.301 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00869/1.158, allocations: 4.257 MB / 1.16 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005544/1.163, allocations: 1.133 MB / 1.161 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07531/1.239, allocations: 39.06 MB / 1.199 GB, free: 5.766 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005274/1.244, allocations: 3.112 MB / 1.202 GB, free: 2.617 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002055/1.246, allocations: 0.5595 MB / 1.203 GB, free: 2.055 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002725/1.249, allocations: 1.972 MB / 1.205 GB, free: 84 kB / 0.795 GB Notification: Performance of SimCode: time 1.683e-06/1.249, allocations: 0 / 1.205 GB, free: 84 kB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2108/1.46, allocations: 119.1 MB / 1.321 GB, free: 10.53 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.81/17.27, allocations: 10.97 kB / 1.321 GB, free: 10.52 MB / 0.92 GB " [Timeout remaining time 643] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.14945319108665] Failed to read output from testmodel.py, exit status != 0: 17.445487037766725 17.789877725 17.46986292 Calling exit ...