Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001514/0.001514, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.00152/0.00152, allocations: 216.8 kB / 22.99 MB, free: 4.977 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.024/1.024, allocations: 149.9 MB / 463 MB, free: 10.39 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002227/0.002227, allocations: 72.83 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1766, allocations: 89.17 MB / 0.7282 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.3987/0.5753, allocations: 33.65 MB / 0.761 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01667/0.592, allocations: 10.01 MB / 0.7708 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004304/0.5963, allocations: 191.8 kB / 0.771 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0106/0.6069, allocations: 3.821 MB / 0.7747 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007743/0.6146, allocations: 2.146 MB / 0.7768 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006768/0.6214, allocations: 1.969 MB / 0.7788 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01372/0.6351, allocations: 7.968 MB / 0.7865 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01195/0.647, allocations: 5.219 MB / 0.7916 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006677/0.6537, allocations: 3.497 MB / 0.795 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007272/0.661, allocations: 3.7 MB / 0.7987 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002439/0.6634, allocations: 0.6779 MB / 0.7993 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004595/0.668, allocations: 1.358 MB / 0.8006 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003828/0.6719, allocations: 2.683 MB / 0.8033 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.006232/0.6781, allocations: 2.516 MB / 0.8057 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01567/0.6938, allocations: 10.47 MB / 0.8159 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.148e-05/0.6938, allocations: 0 / 0.8159 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.566e-06/0.6938, allocations: 4 kB / 0.8159 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0005952/0.6944, allocations: 0 / 0.8159 GB, free: 10.68 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.0197/0.7141, allocations: 5.472 MB / 0.8213 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.7141, allocations: 7.719 kB / 0.8213 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002041/0.7161, allocations: 0.7014 MB / 0.822 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00538/0.7215, allocations: 0.991 MB / 0.823 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007913/0.7294, allocations: 3.134 MB / 0.826 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000314/0.7298, allocations: 356.5 kB / 0.8264 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002355/0.7321, allocations: 470.2 kB / 0.8268 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02096/0.7531, allocations: 8.664 MB / 0.8353 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001431/0.7532, allocations: 19.83 kB / 0.8353 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009072/0.7541, allocations: 206.8 kB / 0.8355 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005983/0.7547, allocations: 369.1 kB / 0.8358 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/0.7691, allocations: 5.929 MB / 0.8416 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04086/0.81, allocations: 23.75 MB / 0.8648 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003783/0.8138, allocations: 1.991 MB / 0.8668 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/0.8158, allocations: 1.333 MB / 0.8681 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-05/0.8159, allocations: 17.31 kB / 0.8681 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.305e-05/0.816, allocations: 59.81 kB / 0.8681 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=157): time 3.887e-06/0.816, allocations: 0 / 0.8681 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of matching and sorting (n=160): time 0.01457/0.8305, allocations: 6.665 MB / 0.8746 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.8306, allocations: 68.72 kB / 0.8747 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002829/0.8334, allocations: 1.911 MB / 0.8766 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002419/0.8337, allocations: 53.7 kB / 0.8766 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001773/0.8354, allocations: 2.187 MB / 0.8788 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007117/0.8361, allocations: 0.5855 MB / 0.8793 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006822/0.8368, allocations: 404 kB / 0.8797 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.837, allocations: 305.1 kB / 0.88 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/0.8387, allocations: 1.062 MB / 0.881 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00261/0.8413, allocations: 1.759 MB / 0.8828 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0047/0.846, allocations: 3.049 MB / 0.8857 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.146e-05/0.8461, allocations: 8 kB / 0.8857 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.01028/0.8563, allocations: 3.907 MB / 0.8896 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.756e-05/0.8564, allocations: 16 kB / 0.8896 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.65e-05/0.8565, allocations: 23.94 kB / 0.8896 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003942/0.8604, allocations: 0.9328 MB / 0.8905 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/0.863, allocations: 427.2 kB / 0.8909 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03935/0.9024, allocations: 21.39 MB / 0.9118 GB, free: 9.359 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003693/0.9061, allocations: 119.9 kB / 0.9119 GB, free: 9.242 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004272/0.9065, allocations: 99.98 kB / 0.912 GB, free: 9.145 MB / 0.6856 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005094/0.9116, allocations: 1.65 MB / 0.9136 GB, free: 7.484 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000956/0.9126, allocations: 266.4 kB / 0.9139 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/0.9234, allocations: 3.236 MB / 0.917 GB, free: 3.93 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-05/0.9234, allocations: 16 kB / 0.9171 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.566e-05/0.9234, allocations: 11.98 kB / 0.9171 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.613e-05/0.9235, allocations: 3.984 kB / 0.9171 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02492/0.9484, allocations: 7.161 MB / 0.9241 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-05/0.9484, allocations: 4 kB / 0.9241 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001963/0.9504, allocations: 215.6 kB / 0.9243 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00489/0.9553, allocations: 0.8966 MB / 0.9252 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002216/0.9555, allocations: 32 kB / 0.9252 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03954/0.995, allocations: 21.35 MB / 0.946 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.658e-05/0.995, allocations: 15.92 kB / 0.946 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/1.005, allocations: 3.361 MB / 0.9493 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002468/1.008, allocations: 473.7 kB / 0.9498 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000613/1.008, allocations: 43.86 kB / 0.9498 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002179/1.01, allocations: 91.89 kB / 0.9499 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006739/1.011, allocations: 155.2 kB / 0.9501 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002169/1.011, allocations: 44 kB / 0.9501 GB, free: 484 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003273/1.015, allocations: 1.225 MB / 0.9513 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.72e-07/1.015, allocations: 0 / 0.9513 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005388/1.02, allocations: 0.9062 MB / 0.9522 GB, free: 14.33 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01058/1.031, allocations: 3.965 MB / 0.956 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01173/1.042, allocations: 4.29 MB / 0.9602 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.546e-05/1.042, allocations: 0 / 0.9602 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007613/1.05, allocations: 2.905 MB / 0.9631 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005911/1.056, allocations: 0.8246 MB / 0.9639 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06032/1.116, allocations: 25.24 MB / 0.9885 GB, free: 7.641 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005823/1.122, allocations: 2.673 MB / 0.9911 GB, free: 4.93 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002192/1.124, allocations: 0.5254 MB / 0.9916 GB, free: 4.398 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002728/1.127, allocations: 1.651 MB / 0.9933 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of SimCode: time 1.202e-06/1.127, allocations: 0 / 0.9933 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1775/1.304, allocations: 74.99 MB / 1.066 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/16.04, allocations: 4 kB / 1.067 GB, free: 8.785 MB / 0.8419 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.485910592135042] Failed to read output from testmodel.py, exit status != 0: 16.196036192122847 16.542293576 15.845383263 Calling exit ...