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.001362/0.001362, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001558/0.001558, allocations: 214.4 kB / 23.78 MB, free: 4.523 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.52/1.52, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.019/1.019, allocations: 150 MB / 464 MB, free: 10.25 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="cs",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="cs",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.002058/0.002058, allocations: 62.08 kB / 0.642 GB, free: 9.879 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1882, allocations: 89.17 MB / 0.7291 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.3976/0.5859, allocations: 33.6 MB / 0.7619 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01392/0.5998, allocations: 9.996 MB / 0.7716 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002987/0.6028, allocations: 191 kB / 0.7718 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00901/0.6118, allocations: 3.818 MB / 0.7755 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007355/0.6191, allocations: 2.149 MB / 0.7776 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006315/0.6255, allocations: 1.97 MB / 0.7796 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01184/0.6373, allocations: 7.971 MB / 0.7874 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008822/0.6461, allocations: 5.268 MB / 0.7925 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006702/0.6528, allocations: 3.496 MB / 0.7959 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008976/0.6618, allocations: 3.937 MB / 0.7998 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003326/0.6651, allocations: 0.679 MB / 0.8004 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004892/0.67, allocations: 1.363 MB / 0.8017 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00413/0.6741, allocations: 2.69 MB / 0.8044 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005303/0.6794, allocations: 2.51 MB / 0.8068 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01406/0.6935, allocations: 10.47 MB / 0.817 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.6935, allocations: 3.938 kB / 0.8171 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6935, allocations: 2.75 kB / 0.8171 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003614/0.6939, allocations: 4 kB / 0.8171 GB, free: 10.32 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.01627/0.7102, allocations: 5.46 MB / 0.8224 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.7102, allocations: 11.12 kB / 0.8224 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001518/0.7104, allocations: 130.5 kB / 0.8225 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001817/0.7122, allocations: 0.6959 MB / 0.8232 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005618/0.7178, allocations: 0.9884 MB / 0.8242 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007541/0.7253, allocations: 3.138 MB / 0.8272 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003885/0.7257, allocations: 355 kB / 0.8276 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002083/0.7278, allocations: 466.4 kB / 0.828 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01989/0.7477, allocations: 8.666 MB / 0.8365 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001417/0.7478, allocations: 23.77 kB / 0.8365 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008782/0.7487, allocations: 210.2 kB / 0.8367 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005812/0.7493, allocations: 369.1 kB / 0.8371 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01298/0.7623, allocations: 5.933 MB / 0.8429 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03569/0.798, allocations: 23.75 MB / 0.866 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003319/0.8013, allocations: 1.989 MB / 0.868 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001926/0.8032, allocations: 1.324 MB / 0.8693 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.213e-05/0.8033, allocations: 25.25 kB / 0.8693 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.278e-05/0.8034, allocations: 60.73 kB / 0.8694 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=157): time 3.997e-06/0.8034, allocations: 0 / 0.8694 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of matching and sorting (n=160): time 0.01446/0.8178, allocations: 6.664 MB / 0.8759 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.8179, allocations: 68.72 kB / 0.8759 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002728/0.8206, allocations: 1.86 MB / 0.8778 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001651/0.8208, allocations: 57.7 kB / 0.8778 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002024/0.8228, allocations: 2.186 MB / 0.8799 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005918/0.8234, allocations: 0.5864 MB / 0.8805 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006877/0.8241, allocations: 415.9 kB / 0.8809 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.8242, allocations: 305.1 kB / 0.8812 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.8259, allocations: 1.062 MB / 0.8822 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/0.8282, allocations: 1.758 MB / 0.884 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004459/0.8326, allocations: 3.049 MB / 0.8869 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.865e-05/0.8327, allocations: 11.94 kB / 0.8869 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007592/0.8403, allocations: 3.899 MB / 0.8908 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/0.8403, allocations: 18.19 kB / 0.8908 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.371e-05/0.8403, allocations: 20 kB / 0.8908 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002638/0.843, allocations: 0.9303 MB / 0.8917 GB, free: 24 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/0.8447, allocations: 435.4 kB / 0.8921 GB, free: 15.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02203/0.8667, allocations: 21.38 MB / 0.913 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/0.8688, allocations: 123.9 kB / 0.9131 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002117/0.869, allocations: 99.94 kB / 0.9132 GB, free: 8.652 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.002954/0.872, allocations: 1.65 MB / 0.9148 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005347/0.8725, allocations: 266.4 kB / 0.9151 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005609/0.8781, allocations: 3.228 MB / 0.9182 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.8781, allocations: 19.94 kB / 0.9182 GB, free: 3.434 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.8782, allocations: 11.94 kB / 0.9183 GB, free: 3.422 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/0.8782, allocations: 7.969 kB / 0.9183 GB, free: 3.414 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.8909, allocations: 7.165 MB / 0.9253 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.8909, allocations: 8 kB / 0.9253 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009174/0.8918, allocations: 215.6 kB / 0.9255 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00244/0.8942, allocations: 0.899 MB / 0.9263 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/0.8944, allocations: 32 kB / 0.9264 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02192/0.9163, allocations: 21.35 MB / 0.9472 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.9163, allocations: 7.938 kB / 0.9472 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005889/0.9222, allocations: 3.365 MB / 0.9505 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/0.9235, allocations: 478.2 kB / 0.951 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003451/0.9239, allocations: 35.94 kB / 0.951 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.9249, allocations: 91.88 kB / 0.9511 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005113/0.9255, allocations: 152.9 kB / 0.9512 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/0.9256, allocations: 44 kB / 0.9513 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002106/0.9277, allocations: 1.217 MB / 0.9525 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9277, allocations: 4 kB / 0.9525 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00359/0.9313, allocations: 0.9062 MB / 0.9534 GB, free: 13.8 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.005973/0.9372, allocations: 3.979 MB / 0.9572 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006811/0.9441, allocations: 4.282 MB / 0.9614 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/0.9441, allocations: 5 kB / 0.9614 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004457/0.9485, allocations: 2.905 MB / 0.9643 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005796/0.9543, allocations: 0.8312 MB / 0.9651 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04839/1.003, allocations: 25.23 MB / 0.9897 GB, free: 7.098 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003724/1.006, allocations: 2.665 MB / 0.9923 GB, free: 4.395 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001794/1.008, allocations: 0.5332 MB / 0.9928 GB, free: 3.855 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00232/1.011, allocations: 1.651 MB / 0.9945 GB, free: 2.203 MB / 0.7637 GB Notification: Performance of SimCode: time 1.282e-06/1.011, allocations: 0 / 0.9945 GB, free: 2.203 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1934/1.204, allocations: 75.25 MB / 1.068 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.01/18.21, allocations: 10.27 kB / 1.068 GB, free: 7.984 MB / 0.8419 GB " [Timeout remaining time 642] (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: 23.11980471003335] Failed to read output from testmodel.py, exit status != 0: 18.434315231977962 18.770046155 18.073331369 Calling exit ...