Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001764/0.001764, 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.002738/0.002738, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.789 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.002543/0.002543, allocations: 286.8 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.226/1.226, allocations: 180.6 MB / 0.5369 GB, free: 14.44 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_R_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.003016/0.003016, allocations: 101.8 kB / 0.7395 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.172, allocations: 95.38 MB / 0.8327 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04631/0.2183, allocations: 36.42 MB / 0.8682 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02026/0.2386, allocations: 11.11 MB / 0.8791 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003813/0.2424, allocations: 202.6 kB / 0.8793 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01272/0.2551, allocations: 4.379 MB / 0.8835 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00766/0.2628, allocations: 2.34 MB / 0.8858 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006618/0.2694, allocations: 2.18 MB / 0.888 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01307/0.2825, allocations: 9.265 MB / 0.897 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01398/0.2964, allocations: 6.345 MB / 0.9032 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007744/0.3042, allocations: 4.125 MB / 0.9072 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008688/0.3129, allocations: 4.458 MB / 0.9116 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.00264/0.3155, allocations: 0.8281 MB / 0.9124 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004794/0.3203, allocations: 1.498 MB / 0.9139 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005611/0.3259, allocations: 3.238 MB / 0.917 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006927/0.3328, allocations: 2.969 MB / 0.9199 GB, free: 14.56 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01749/0.3503, allocations: 12.41 MB / 0.932 GB, free: 2.109 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.3503, allocations: 0 / 0.932 GB, free: 2.109 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.745e-06/0.3504, allocations: 0 / 0.932 GB, free: 2.109 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004479/0.3508, allocations: 0 / 0.932 GB, free: 2.109 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02074/0.3715, allocations: 6.396 MB / 0.9383 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.3716, allocations: 9.938 kB / 0.9383 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002712/0.3743, allocations: 0.8333 MB / 0.9391 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006252/0.3806, allocations: 1.094 MB / 0.9402 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009179/0.3897, allocations: 3.572 MB / 0.9437 GB, free: 6.062 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004622/0.3902, allocations: 427.7 kB / 0.9441 GB, free: 5.645 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001936/0.3921, allocations: 0.5394 MB / 0.9446 GB, free: 5.105 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02164/0.4138, allocations: 10.29 MB / 0.9546 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002481/0.414, allocations: 19.81 kB / 0.9547 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001497/0.4155, allocations: 255.9 kB / 0.9549 GB, free: 9.992 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006848/0.4162, allocations: 414.9 kB / 0.9553 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0152/0.4314, allocations: 7.12 MB / 0.9623 GB, free: 2.457 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4279/0.8593, allocations: 26.26 MB / 0.9879 GB, free: 116.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004209/0.8635, allocations: 2.894 MB / 0.9907 GB, free: 116.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002382/0.8659, allocations: 1.933 MB / 0.9926 GB, free: 116.7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-05/0.866, allocations: 23 kB / 0.9926 GB, free: 116.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.866, allocations: 62.84 kB / 0.9927 GB, free: 116.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 4.428e-06/0.866, allocations: 0 / 0.9927 GB, free: 116.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.02463/0.8906, allocations: 10.27 MB / 1.003 GB, free: 113.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.8907, allocations: 76.83 kB / 1.003 GB, free: 113.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003194/0.8939, allocations: 2.049 MB / 1.005 GB, free: 113 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003682/0.8942, allocations: 63.98 kB / 1.005 GB, free: 112.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001651/0.8959, allocations: 2.479 MB / 1.007 GB, free: 111.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008653/0.8967, allocations: 0.7677 MB / 1.008 GB, free: 110.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008589/0.8976, allocations: 482.8 kB / 1.008 GB, free: 110.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.401e-05/0.8977, allocations: 312.4 kB / 1.009 GB, free: 110.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/0.8994, allocations: 1.372 MB / 1.01 GB, free: 109.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/0.9015, allocations: 2.104 MB / 1.012 GB, free: 108.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003968/0.9054, allocations: 3.763 MB / 1.016 GB, free: 106.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/0.9054, allocations: 7.562 kB / 1.016 GB, free: 106.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006831/0.9123, allocations: 5.031 MB / 1.021 GB, free: 103.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.9123, allocations: 17.44 kB / 1.021 GB, free: 103.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.9123, allocations: 24.69 kB / 1.021 GB, free: 103.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003053/0.9154, allocations: 1.581 MB / 1.022 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.9168, allocations: 453.6 kB / 1.023 GB, free: 102.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01681/0.9336, allocations: 17.9 MB / 1.04 GB, free: 85.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/0.9359, allocations: 147.9 kB / 1.04 GB, free: 85.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.936, allocations: 113.7 kB / 1.041 GB, free: 85.07 MB / 0.7169 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00242/0.9384, allocations: 1.946 MB / 1.042 GB, free: 83.11 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004153/0.9389, allocations: 302.2 kB / 1.043 GB, free: 82.82 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00572/0.9446, allocations: 4.4 MB / 1.047 GB, free: 78.39 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.9446, allocations: 20 kB / 1.047 GB, free: 78.37 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.9446, allocations: 16 kB / 1.047 GB, free: 78.35 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.9446, allocations: 15.58 kB / 1.047 GB, free: 78.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/0.9566, allocations: 9.178 MB / 1.056 GB, free: 69.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.9566, allocations: 4 kB / 1.056 GB, free: 69.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000915/0.9575, allocations: 231.7 kB / 1.056 GB, free: 68.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002759/0.9603, allocations: 1.424 MB / 1.058 GB, free: 67.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.9604, allocations: 40 kB / 1.058 GB, free: 67.37 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01702/0.9774, allocations: 17.92 MB / 1.075 GB, free: 49.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.9774, allocations: 11.94 kB / 1.075 GB, free: 49 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006134/0.9836, allocations: 4.495 MB / 1.08 GB, free: 44.42 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001473/0.985, allocations: 0.5795 MB / 1.08 GB, free: 43.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000346/0.9854, allocations: 40 kB / 1.08 GB, free: 43.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.9867, allocations: 115.9 kB / 1.08 GB, free: 43.69 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000355/0.987, allocations: 193.2 kB / 1.08 GB, free: 43.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/0.9871, allocations: 65.2 kB / 1.081 GB, free: 43.44 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00146/0.9886, allocations: 1.311 MB / 1.082 GB, free: 42.12 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9886, allocations: 4 kB / 1.082 GB, free: 42.11 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002702/0.9913, allocations: 1.141 MB / 1.083 GB, free: 40.97 MB / 0.7169 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005648/0.997, allocations: 5.12 MB / 1.088 GB, free: 35.76 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005763/1.003, allocations: 4.541 MB / 1.092 GB, free: 31.17 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.003, allocations: 1.641 kB / 1.092 GB, free: 31.17 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003591/1.006, allocations: 2.8 MB / 1.095 GB, free: 28.32 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003287/1.01, allocations: 0.8959 MB / 1.096 GB, free: 27.46 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03813/1.048, allocations: 30.56 MB / 1.126 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004456/1.052, allocations: 3.163 MB / 1.129 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001868/1.054, allocations: 0.5556 MB / 1.129 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002532/1.057, allocations: 1.948 MB / 1.131 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/1.057, allocations: 0 / 1.131 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1698/1.226, allocations: 90.6 MB / 1.22 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.86, allocations: 17.22 kB / 1.22 GB, free: 12.72 MB / 0.8262 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.4408465991728] Failed to read output from testmodel.py, exit status != 0: 16.02727620303631 16.044206363 15.690340641 Calling exit ...