Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 113.1 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 192.6 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8394/0.8394, allocations: 129.2 MB / 432.5 MB, free: 13.22 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 75.83 kB / 0.5987 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4422/0.4441, allocations: 83.44 MB / 0.6802 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04606/0.4902, allocations: 38.16 MB / 0.7175 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02982/0.52, allocations: 13.22 MB / 0.7304 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005184/0.5252, allocations: 171.1 kB / 0.7305 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01117/0.5363, allocations: 3.945 MB / 0.7344 GB, free: 6.332 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008581/0.5449, allocations: 2.608 MB / 0.7369 GB, free: 3.711 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00854/0.5535, allocations: 2.72 MB / 0.7396 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01549/0.569, allocations: 9.56 MB / 0.7489 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01455/0.5835, allocations: 7.698 MB / 0.7564 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008103/0.5916, allocations: 4.062 MB / 0.7604 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00888/0.6005, allocations: 4.669 MB / 0.765 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003073/0.6036, allocations: 0.7734 MB / 0.7657 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005802/0.6094, allocations: 1.802 MB / 0.7675 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005999/0.6154, allocations: 3.117 MB / 0.7705 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.008797/0.6242, allocations: 3.583 MB / 0.774 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02113/0.6453, allocations: 11.89 MB / 0.7856 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.6453, allocations: 4 kB / 0.7856 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6453, allocations: 0 / 0.7856 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0004502/0.6458, allocations: 0 / 0.7856 GB, free: 1.586 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02062/0.6664, allocations: 6.511 MB / 0.792 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.6664, allocations: 12.03 kB / 0.792 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002842/0.6693, allocations: 0.7519 MB / 0.7927 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009538/0.6788, allocations: 1.336 MB / 0.7941 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01009/0.6889, allocations: 3.809 MB / 0.7978 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004279/0.6893, allocations: 378.5 kB / 0.7981 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002179/0.6915, allocations: 0.4964 MB / 0.7986 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01979/0.7113, allocations: 8.89 MB / 0.8073 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000167/0.7115, allocations: 31.77 kB / 0.8073 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007579/0.7122, allocations: 223.9 kB / 0.8075 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002044/0.7143, allocations: 0.6304 MB / 0.8082 GB, free: 10 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01604/0.7303, allocations: 7.01 MB / 0.815 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0626/0.7929, allocations: 40.12 MB / 0.8542 GB, free: 7.629 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004641/0.7976, allocations: 2.652 MB / 0.8568 GB, free: 4.973 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004021/0.8016, allocations: 2.413 MB / 0.8591 GB, free: 2.551 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002076/0.8018, allocations: 42.08 kB / 0.8592 GB, free: 2.508 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.676e-05/0.8019, allocations: 68.53 kB / 0.8592 GB, free: 2.43 MB / 0.67 GB Notification: Performance of pre-optimization done (n=265): time 4.338e-06/0.8019, allocations: 0 / 0.8592 GB, free: 2.43 MB / 0.67 GB Notification: Performance of matching and sorting (n=424): time 0.6487/1.451, allocations: 74.6 MB / 0.9321 GB, free: 140.7 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/1.451, allocations: 98.67 kB / 0.9322 GB, free: 140.6 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004134/1.455, allocations: 2.358 MB / 0.9345 GB, free: 138.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001019/1.456, allocations: 97.7 kB / 0.9346 GB, free: 138.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001402/1.457, allocations: 2.406 MB / 0.9369 GB, free: 136 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001681/1.459, allocations: 1.507 MB / 0.9384 GB, free: 134.6 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001802/1.461, allocations: 0.7217 MB / 0.9391 GB, free: 133.9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.173e-05/1.461, allocations: 309.1 kB / 0.9394 GB, free: 133.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003453/1.464, allocations: 2.991 MB / 0.9423 GB, free: 130.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003875/1.468, allocations: 3.847 MB / 0.9461 GB, free: 126.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007945/1.476, allocations: 7.387 MB / 0.9533 GB, free: 118.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-05/1.476, allocations: 8 kB / 0.9533 GB, free: 118.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02595/1.502, allocations: 12.39 MB / 0.9654 GB, free: 106.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.733e-05/1.502, allocations: 15.94 kB / 0.9654 GB, free: 106.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.37e-05/1.502, allocations: 24 kB / 0.9654 GB, free: 106.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02058/1.523, allocations: 6.021 MB / 0.9713 GB, free: 100.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/1.525, allocations: 498.6 kB / 0.9718 GB, free: 99.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07193/1.597, allocations: 73.04 MB / 1.043 GB, free: 23.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004495/1.601, allocations: 214.4 kB / 1.043 GB, free: 23.04 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/1.602, allocations: 163.9 kB / 1.043 GB, free: 22.88 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004334/1.606, allocations: 1.992 MB / 1.045 GB, free: 20.88 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001482/1.608, allocations: 409.5 kB / 1.046 GB, free: 20.48 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0239/1.632, allocations: 12.05 MB / 1.058 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.67e-05/1.632, allocations: 43.94 kB / 1.058 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001492/1.632, allocations: 48 kB / 1.058 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.401e-05/1.632, allocations: 19.92 kB / 1.058 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04473/1.677, allocations: 18.95 MB / 1.076 GB, free: 5.062 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.023e-05/1.677, allocations: 4 kB / 1.076 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/1.679, allocations: 292.4 kB / 1.076 GB, free: 4.773 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02627/1.705, allocations: 5.577 MB / 1.082 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00107/1.706, allocations: 80 kB / 1.082 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09783/1.804, allocations: 70.67 MB / 1.151 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-05/1.804, allocations: 11.94 kB / 1.151 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03588/1.84, allocations: 15.45 MB / 1.166 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004575/1.844, allocations: 1.065 MB / 1.167 GB, free: 4.297 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002057/1.846, allocations: 87.92 kB / 1.167 GB, free: 4.211 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003486/1.85, allocations: 215.7 kB / 1.167 GB, free: 4 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001894/1.852, allocations: 398.3 kB / 1.168 GB, free: 3.609 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006356/1.852, allocations: 112 kB / 1.168 GB, free: 3.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003137/1.855, allocations: 1.556 MB / 1.169 GB, free: 1.945 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/1.855, allocations: 0 / 1.169 GB, free: 1.945 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.007828/1.863, allocations: 1.859 MB / 1.171 GB, free: 88 kB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.4027/2.266, allocations: 16.12 MB / 1.187 GB, free: 263.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.02522/2.291, allocations: 11.59 MB / 1.198 GB, free: 260.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-05/2.291, allocations: 4.75 kB / 1.198 GB, free: 260.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01594/2.307, allocations: 8.12 MB / 1.206 GB, free: 257.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007607/2.315, allocations: 1.194 MB / 1.207 GB, free: 257.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1038/2.419, allocations: 53.68 MB / 1.26 GB, free: 233.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005079/2.424, allocations: 4.093 MB / 1.264 GB, free: 229.9 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002552/2.426, allocations: 0.663 MB / 1.264 GB, free: 229.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002502/2.429, allocations: 2.132 MB / 1.267 GB, free: 227.1 MB / 0.8106 GB Notification: Performance of SimCode: time 1.583e-06/2.429, allocations: 0 / 1.267 GB, free: 227.1 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2815/2.71, allocations: 151.9 MB / 1.415 GB, free: 76.45 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.95/21.66, allocations: 19.27 kB / 1.415 GB, free: 76.43 MB / 0.8106 GB " [Timeout remaining time 638] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.697700114920735] Failed to read output from testmodel.py, exit status != 0: 21.822197366971523 21.83260621 21.184692307 Calling exit ...