Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.001342/0.001342, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001448/0.001448, allocations: 220.1 kB / 23.03 MB, free: 4.941 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.002561/0.002561, allocations: 290.2 kB / 313.5 MB, free: 2.602 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.234/1.234, allocations: 180.6 MB / 0.5377 GB, free: 14.37 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.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="cs",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.00281/0.00281, allocations: 95.36 kB / 0.7403 GB, free: 28.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1568, allocations: 95.39 MB / 0.8334 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02817/0.185, allocations: 22.22 MB / 0.8551 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01202/0.197, allocations: 6.434 MB / 0.8614 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.1987, allocations: 127.1 kB / 0.8615 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004143/0.2029, allocations: 1.514 MB / 0.863 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004486/0.2074, allocations: 1.937 MB / 0.8649 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003669/0.211, allocations: 1.465 MB / 0.8663 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008394/0.2194, allocations: 6.905 MB / 0.8731 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007517/0.2269, allocations: 3.757 MB / 0.8767 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005162/0.2321, allocations: 2.937 MB / 0.8796 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005925/0.238, allocations: 3.735 MB / 0.8832 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00145/0.2395, allocations: 0.5273 MB / 0.8838 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002923/0.2424, allocations: 1.12 MB / 0.8849 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003278/0.2457, allocations: 2.537 MB / 0.8873 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003133/0.2488, allocations: 2.054 MB / 0.8893 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009642/0.2585, allocations: 8.589 MB / 0.8977 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2585, allocations: 0 / 0.8977 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2585, allocations: 0 / 0.8977 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001845/0.2587, allocations: 0 / 0.8977 GB, free: 6.141 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.009053/0.2677, allocations: 4.464 MB / 0.9021 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2677, allocations: 13.34 kB / 0.9021 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001093/0.2679, allocations: 103.5 kB / 0.9022 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008779/0.2687, allocations: 0.5753 MB / 0.9028 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008576/0.2773, allocations: 1.695 MB / 0.9044 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005575/0.2829, allocations: 2.672 MB / 0.907 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003031/0.2832, allocations: 275.7 kB / 0.9073 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008733/0.2841, allocations: 368.2 kB / 0.9076 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01415/0.2982, allocations: 7.708 MB / 0.9152 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.26e-05/0.2983, allocations: 19.86 kB / 0.9152 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004624/0.2988, allocations: 163.9 kB / 0.9153 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006379/0.2994, allocations: 479.4 kB / 0.9158 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01006/0.3095, allocations: 5.701 MB / 0.9214 GB, free: 13.49 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03353/0.343, allocations: 20.55 MB / 0.9414 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003067/0.346, allocations: 2.027 MB / 0.9434 GB, free: 6.43 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00307/0.3491, allocations: 2.1 MB / 0.9455 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.3492, allocations: 13.31 kB / 0.9455 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/0.3493, allocations: 51.88 kB / 0.9455 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=146): time 3.827e-06/0.3493, allocations: 0 / 0.9455 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of matching and sorting (n=251): time 0.6311/0.9804, allocations: 76.72 MB / 1.02 GB, free: 116.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.9805, allocations: 77.41 kB / 1.021 GB, free: 116.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.9821, allocations: 1.669 MB / 1.022 GB, free: 114.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003258/0.9825, allocations: 65.7 kB / 1.022 GB, free: 114.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006195/0.9831, allocations: 1.799 MB / 1.024 GB, free: 113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005741/0.9837, allocations: 0.8931 MB / 1.025 GB, free: 112.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008892/0.9845, allocations: 485.4 kB / 1.025 GB, free: 111.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.158e-05/0.9846, allocations: 301.1 kB / 1.026 GB, free: 111.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002768/0.9873, allocations: 2.734 MB / 1.028 GB, free: 108.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00294/0.9903, allocations: 3.332 MB / 1.032 GB, free: 105.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006179/0.9965, allocations: 6.401 MB / 1.038 GB, free: 98.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.564e-05/0.9965, allocations: 7.938 kB / 1.038 GB, free: 98.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02644/1.023, allocations: 14.4 MB / 1.052 GB, free: 83.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/1.023, allocations: 12 kB / 1.052 GB, free: 83.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/1.023, allocations: 16.09 kB / 1.052 GB, free: 83.95 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02492/1.048, allocations: 9.201 MB / 1.061 GB, free: 74.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/1.049, allocations: 299.4 kB / 1.061 GB, free: 74.44 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06145/1.11, allocations: 51.05 MB / 1.111 GB, free: 22.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002556/1.113, allocations: 215.7 kB / 1.111 GB, free: 22.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002715/1.113, allocations: 104 kB / 1.111 GB, free: 22.42 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 (157): * Single equations (assignments): 151 * 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002145/1.115, allocations: 1.583 MB / 1.113 GB, free: 20.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005076/1.116, allocations: 258.2 kB / 1.113 GB, free: 20.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02599/1.142, allocations: 14.48 MB / 1.127 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/1.142, allocations: 28 kB / 1.127 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000115/1.142, allocations: 44 kB / 1.127 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.502e-05/1.142, allocations: 13.73 kB / 1.127 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04004/1.182, allocations: 19.52 MB / 1.146 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-05/1.182, allocations: 8 kB / 1.146 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007328/1.183, allocations: 171.7 kB / 1.147 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02993/1.213, allocations: 8.972 MB / 1.155 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004548/1.213, allocations: 51.98 kB / 1.155 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08341/1.297, allocations: 50.62 MB / 1.205 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/1.297, allocations: 7.984 kB / 1.205 GB, free: 5.766 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03251/1.329, allocations: 14.09 MB / 1.219 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002401/1.332, allocations: 0.7831 MB / 1.219 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006412/1.332, allocations: 51.98 kB / 1.219 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/1.334, allocations: 203.7 kB / 1.22 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001383/1.336, allocations: 253.3 kB / 1.22 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002569/1.336, allocations: 71.98 kB / 1.22 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001775/1.338, allocations: 1.125 MB / 1.221 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/1.338, allocations: 0 / 1.221 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005324/1.343, allocations: 1.609 MB / 1.223 GB, free: 3.43 MB / 0.8106 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 (80): * 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: 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03299/1.376, allocations: 14.72 MB / 1.237 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02338/1.399, allocations: 10.19 MB / 1.247 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/1.399, allocations: 4.219 kB / 1.247 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0181/1.418, allocations: 7.018 MB / 1.254 GB, free: 3.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/1.421, allocations: 0.5525 MB / 1.254 GB, free: 2.703 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1402/1.561, allocations: 50.52 MB / 1.304 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006833/1.568, allocations: 2.681 MB / 1.306 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001656/1.569, allocations: 391.3 kB / 1.307 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002915/1.572, allocations: 1.46 MB / 1.308 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of SimCode: time 1.172e-06/1.572, allocations: 0 / 1.308 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5698/2.142, allocations: 128.7 MB / 1.434 GB, free: 252 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.92/19.06, allocations: 11.02 kB / 1.434 GB, free: 252 MB / 0.92 GB " [Timeout remaining time 641] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.95500604598783] Failed to read output from testmodel.py, exit status != 0: 19.27544533589389 19.294154749 19.032017691 Calling exit ...