Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 110 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002408/0.002408, allocations: 294.5 kB / 303 MB, free: 9.48 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.136/1.136, allocations: 180.9 MB / 0.5261 GB, free: 14.67 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002636/0.002636, allocations: 104.7 kB / 0.7248 GB, free: 40.03 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1446, allocations: 94.17 MB / 0.8167 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04136/0.1859, allocations: 35.45 MB / 0.8514 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01824/0.2042, allocations: 11.62 MB / 0.8627 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002689/0.2069, allocations: 159.2 kB / 0.8629 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01041/0.2173, allocations: 4.324 MB / 0.8671 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005761/0.223, allocations: 2.092 MB / 0.8691 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005996/0.229, allocations: 2.407 MB / 0.8715 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01015/0.2392, allocations: 8.463 MB / 0.8797 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01106/0.2502, allocations: 8.424 MB / 0.888 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005597/0.2558, allocations: 3.794 MB / 0.8917 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006602/0.2624, allocations: 4.424 MB / 0.896 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001425/0.2639, allocations: 0.7773 MB / 0.8968 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004077/0.2679, allocations: 2.067 MB / 0.8988 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003292/0.2712, allocations: 3.145 MB / 0.9018 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004126/0.2754, allocations: 3.396 MB / 0.9052 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01203/0.2874, allocations: 12.01 MB / 0.9169 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2874, allocations: 0 / 0.9169 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2874, allocations: 0 / 0.9169 GB, free: 14.38 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002195/0.2876, allocations: 0 / 0.9169 GB, free: 14.38 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01062/0.2982, allocations: 5.953 MB / 0.9227 GB, free: 8.348 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2983, allocations: 8.031 kB / 0.9227 GB, free: 8.34 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001123/0.2994, allocations: 0.8051 MB / 0.9235 GB, free: 7.523 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005334/0.3047, allocations: 1.098 MB / 0.9246 GB, free: 6.422 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007502/0.3122, allocations: 3.467 MB / 0.928 GB, free: 2.898 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003021/0.3125, allocations: 415.5 kB / 0.9284 GB, free: 2.492 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009447/0.3135, allocations: 0.5354 MB / 0.9289 GB, free: 1.957 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01444/0.3279, allocations: 9.079 MB / 0.9377 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001315/0.328, allocations: 35.77 kB / 0.9378 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005143/0.3286, allocations: 239.9 kB / 0.938 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003405/0.3289, allocations: 342.8 kB / 0.9383 GB, free: 7.949 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01127/0.3402, allocations: 6.83 MB / 0.945 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04233/0.3825, allocations: 39.86 MB / 0.9839 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003573/0.3861, allocations: 2.908 MB / 0.9868 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002401/0.3885, allocations: 1.782 MB / 0.9885 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.942e-05/0.3886, allocations: 22 kB / 0.9885 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.3886, allocations: 56.55 kB / 0.9886 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=179): time 3.757e-06/0.3886, allocations: 0 / 0.9886 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182): time 0.02279/0.4114, allocations: 9.992 MB / 0.9983 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.4114, allocations: 73.41 kB / 0.9984 GB, free: 6.457 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/0.4134, allocations: 1.519 MB / 0.9999 GB, free: 4.895 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001567/0.4136, allocations: 61.7 kB / 0.9999 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001555/0.4151, allocations: 2.327 MB / 1.002 GB, free: 2.477 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005786/0.4157, allocations: 0.6584 MB / 1.003 GB, free: 1.812 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005814/0.4163, allocations: 412.1 kB / 1.003 GB, free: 1.402 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.4164, allocations: 305.1 kB / 1.004 GB, free: 1.102 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3394/0.7557, allocations: 1.176 MB / 1.005 GB, free: 169.9 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/0.7579, allocations: 1.882 MB / 1.007 GB, free: 169.1 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003885/0.7618, allocations: 3.373 MB / 1.01 GB, free: 167.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/0.7618, allocations: 6.531 kB / 1.01 GB, free: 167.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007372/0.7691, allocations: 4.533 MB / 1.014 GB, free: 166 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.7692, allocations: 18.39 kB / 1.014 GB, free: 166 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.204e-05/0.7692, allocations: 22.72 kB / 1.014 GB, free: 166 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004128/0.7733, allocations: 1.58 MB / 1.016 GB, free: 165.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.7747, allocations: 355.1 kB / 1.016 GB, free: 165.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01718/0.7919, allocations: 18.6 MB / 1.034 GB, free: 154.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.7935, allocations: 122.1 kB / 1.034 GB, free: 154.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.7936, allocations: 95.03 kB / 1.035 GB, free: 154.5 MB / 0.7481 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 (177): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002242/0.7958, allocations: 1.889 MB / 1.036 GB, free: 153.7 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/0.7961, allocations: 231.3 kB / 1.037 GB, free: 153.7 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00505/0.8012, allocations: 4.046 MB / 1.041 GB, free: 151.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.8012, allocations: 16.31 kB / 1.041 GB, free: 151.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.8012, allocations: 17.19 kB / 1.041 GB, free: 151.7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.8012, allocations: 13.09 kB / 1.041 GB, free: 151.7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.8121, allocations: 9.421 MB / 1.05 GB, free: 142.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.8121, allocations: 6.469 kB / 1.05 GB, free: 142.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006596/0.8128, allocations: 179.7 kB / 1.05 GB, free: 142.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002622/0.8154, allocations: 1.361 MB / 1.051 GB, free: 141.2 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.8155, allocations: 36.8 kB / 1.051 GB, free: 141.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01458/0.8301, allocations: 17.38 MB / 1.068 GB, free: 123.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.8301, allocations: 4 kB / 1.068 GB, free: 123.4 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005006/0.8351, allocations: 4.032 MB / 1.072 GB, free: 119.3 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/0.8363, allocations: 0.5421 MB / 1.073 GB, free: 118.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002531/0.8365, allocations: 40 kB / 1.073 GB, free: 118.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00084/0.8373, allocations: 87.89 kB / 1.073 GB, free: 118.6 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003901/0.8377, allocations: 159.8 kB / 1.073 GB, free: 118.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-05/0.8378, allocations: 48 kB / 1.073 GB, free: 118.4 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001034/0.8389, allocations: 1.008 MB / 1.074 GB, free: 117.4 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.1e-08/0.8389, allocations: 0 / 1.074 GB, free: 117.4 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002565/0.8414, allocations: 0.9844 MB / 1.075 GB, free: 116.4 MB / 0.7481 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00483/0.8463, allocations: 4.641 MB / 1.08 GB, free: 111.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004981/0.8512, allocations: 4.151 MB / 1.084 GB, free: 107.5 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.8512, allocations: 0 / 1.084 GB, free: 107.5 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003024/0.8543, allocations: 2.579 MB / 1.086 GB, free: 104.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/0.8569, allocations: 0.7849 MB / 1.087 GB, free: 104.2 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03103/0.888, allocations: 26.89 MB / 1.113 GB, free: 76.21 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002933/0.8909, allocations: 3.573 MB / 1.117 GB, free: 72.61 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00116/0.8921, allocations: 467.7 kB / 1.117 GB, free: 72.16 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/0.8935, allocations: 1.788 MB / 1.119 GB, free: 70.38 MB / 0.7481 GB Notification: Performance of SimCode: time 9.02e-07/0.8935, allocations: 0 / 1.119 GB, free: 70.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1071/1.001, allocations: 74.44 MB / 1.192 GB, free: 12.67 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.81, allocations: 23.14 kB / 1.192 GB, free: 12.65 MB / 0.7637 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.001967955380678] Failed to read output from testmodel.py, exit status != 0: 13.927158589940518 13.940583693 13.650292427 Calling exit ...