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.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.001216/0.001216, allocations: 109.2 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.001363/0.001363, allocations: 217.9 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 8 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.002481/0.002481, allocations: 291 kB / 312.7 MB, free: 2.816 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.17/1.17, allocations: 180.6 MB / 0.5369 GB, free: 13 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_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: 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.002755/0.002755, allocations: 106.9 kB / 0.7396 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1519, allocations: 95.38 MB / 0.8327 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04223/0.1942, allocations: 36.67 MB / 0.8686 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02077/0.2149, allocations: 11.97 MB / 0.8802 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002757/0.2177, allocations: 210.4 kB / 0.8805 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01078/0.2285, allocations: 4.456 MB / 0.8848 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005511/0.234, allocations: 2.088 MB / 0.8868 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00618/0.2402, allocations: 2.468 MB / 0.8893 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01056/0.2507, allocations: 8.461 MB / 0.8975 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01087/0.2616, allocations: 6.235 MB / 0.9036 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005619/0.2672, allocations: 3.852 MB / 0.9074 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006833/0.274, allocations: 4.42 MB / 0.9117 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001741/0.2758, allocations: 0.7773 MB / 0.9124 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004366/0.2802, allocations: 2.067 MB / 0.9145 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003779/0.2839, allocations: 3.137 MB / 0.9175 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004433/0.2884, allocations: 3.404 MB / 0.9208 GB, free: 14.08 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01271/0.3011, allocations: 12.01 MB / 0.9326 GB, free: 2.027 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3011, allocations: 0 / 0.9326 GB, free: 2.027 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3011, allocations: 0 / 0.9326 GB, free: 2.027 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002205/0.3013, allocations: 0 / 0.9326 GB, free: 2.027 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.01156/0.3129, allocations: 5.867 MB / 0.9383 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.3129, allocations: 13.34 kB / 0.9383 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001201/0.3141, allocations: 0.8051 MB / 0.9391 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005265/0.3194, allocations: 1.094 MB / 0.9402 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007625/0.327, allocations: 3.415 MB / 0.9435 GB, free: 6.688 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003465/0.3273, allocations: 415.5 kB / 0.9439 GB, free: 6.281 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001376/0.3287, allocations: 0.5354 MB / 0.9444 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01808/0.3468, allocations: 9.083 MB / 0.9533 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002466/0.347, allocations: 27.83 kB / 0.9533 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001423/0.3485, allocations: 232 kB / 0.9535 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004429/0.3489, allocations: 350.8 kB / 0.9539 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01365/0.3626, allocations: 6.83 MB / 0.9606 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3751/0.7377, allocations: 39.49 MB / 0.9991 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/0.7407, allocations: 2.308 MB / 1.001 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002049/0.7428, allocations: 1.769 MB / 1.003 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.6e-05/0.7429, allocations: 18.66 kB / 1.003 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.7429, allocations: 58.22 kB / 1.003 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=179): time 3.667e-06/0.7429, allocations: 2.531 kB / 1.003 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182): time 0.02223/0.7651, allocations: 9.687 MB / 1.013 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.7652, allocations: 73.59 kB / 1.013 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/0.7669, allocations: 1.527 MB / 1.014 GB, free: 128.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.419e-05/0.767, allocations: 55.95 kB / 1.014 GB, free: 128.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.768, allocations: 2.327 MB / 1.017 GB, free: 127.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003975/0.7684, allocations: 0.6593 MB / 1.017 GB, free: 127 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005041/0.7689, allocations: 410 kB / 1.018 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.784e-05/0.769, allocations: 301.1 kB / 1.018 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.7702, allocations: 1.178 MB / 1.019 GB, free: 126 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.7718, allocations: 1.881 MB / 1.021 GB, free: 124.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002841/0.7746, allocations: 3.373 MB / 1.024 GB, free: 122.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.7746, allocations: 7.812 kB / 1.024 GB, free: 122.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005901/0.7805, allocations: 4.537 MB / 1.029 GB, free: 120.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.7806, allocations: 14.91 kB / 1.029 GB, free: 120.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.959e-05/0.7806, allocations: 22.44 kB / 1.029 GB, free: 120.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003139/0.7837, allocations: 1.585 MB / 1.03 GB, free: 120 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009566/0.7847, allocations: 351.2 kB / 1.03 GB, free: 119.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01712/0.8018, allocations: 18.21 MB / 1.048 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/0.8038, allocations: 121.9 kB / 1.048 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003497/0.8041, allocations: 96 kB / 1.048 GB, free: 106.2 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 (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.002988/0.8071, allocations: 1.895 MB / 1.05 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000531/0.8077, allocations: 234.5 kB / 1.051 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005361/0.813, allocations: 4.039 MB / 1.054 GB, free: 99.99 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.813, allocations: 19.39 kB / 1.055 GB, free: 99.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.361e-05/0.813, allocations: 20 kB / 1.055 GB, free: 99.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.8131, allocations: 7.969 kB / 1.055 GB, free: 99.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/0.8257, allocations: 9.404 MB / 1.064 GB, free: 90.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.8257, allocations: 12 kB / 1.064 GB, free: 90.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006718/0.8264, allocations: 179.7 kB / 1.064 GB, free: 90.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002737/0.8291, allocations: 1.353 MB / 1.065 GB, free: 88.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.945e-05/0.8292, allocations: 36 kB / 1.065 GB, free: 88.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01502/0.8442, allocations: 16.95 MB / 1.082 GB, free: 71.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.8443, allocations: 4 kB / 1.082 GB, free: 71.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005119/0.8494, allocations: 4.044 MB / 1.086 GB, free: 67.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/0.8505, allocations: 476.5 kB / 1.086 GB, free: 66.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003771/0.8509, allocations: 39.94 kB / 1.086 GB, free: 66.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009252/0.8518, allocations: 91.89 kB / 1.086 GB, free: 66.63 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000304/0.8521, allocations: 168.9 kB / 1.087 GB, free: 66.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.698e-05/0.8522, allocations: 51.5 kB / 1.087 GB, free: 66.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001017/0.8532, allocations: 1.005 MB / 1.088 GB, free: 65.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8532, allocations: 4 kB / 1.088 GB, free: 65.39 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002582/0.8558, allocations: 0.9883 MB / 1.089 GB, free: 64.41 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 (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.00505/0.8608, allocations: 4.623 MB / 1.093 GB, free: 59.69 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005128/0.866, allocations: 4.177 MB / 1.097 GB, free: 55.47 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.866, allocations: 4 kB / 1.097 GB, free: 55.47 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0032/0.8692, allocations: 2.581 MB / 1.1 GB, free: 52.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/0.872, allocations: 0.7852 MB / 1.1 GB, free: 52.11 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03248/0.9044, allocations: 27.02 MB / 1.127 GB, free: 24.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003555/0.908, allocations: 3.573 MB / 1.13 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001161/0.9091, allocations: 467.8 kB / 1.131 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001575/0.9107, allocations: 1.792 MB / 1.132 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of SimCode: time 8.82e-07/0.9107, allocations: 0 / 1.132 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1409/1.052, allocations: 76.53 MB / 1.207 GB, free: 6.305 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.73, allocations: 0 / 1.207 GB, free: 6.305 MB / 0.795 GB " [Timeout remaining time 644] (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: 19.956228057853878] Failed to read output from testmodel.py, exit status != 0: 15.872326432960108 15.889907402 15.585428197 Calling exit ...