Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001252/0.001252, allocations: 120.7 kB / 17.13 MB, free: 5.941 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.001267/0.001267, allocations: 191.7 kB / 20.08 MB, free: 3.012 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.446/1.446, allocations: 225.6 MB / 248.5 MB, free: 3.723 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.8596/0.8596, allocations: 129.2 MB / 432.5 MB, free: 13.23 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.89 kB / 0.5987 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.42, allocations: 83.44 MB / 0.6802 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006919/0.4269, allocations: 6.894 MB / 0.6869 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005132/0.4321, allocations: 3.103 MB / 0.6899 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005811/0.4326, allocations: 33.34 kB / 0.69 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002559/0.4352, allocations: 0.9505 MB / 0.6909 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.4366, allocations: 0.5276 MB / 0.6914 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.4378, allocations: 445.3 kB / 0.6918 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001597/0.4394, allocations: 1.234 MB / 0.693 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008235/0.4402, allocations: 0.5255 MB / 0.6936 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006585/0.4409, allocations: 478.2 kB / 0.694 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007039/0.4416, allocations: 0.5565 MB / 0.6946 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.4417, allocations: 73.97 kB / 0.6946 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007917/0.4425, allocations: 388 kB / 0.695 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003438/0.4429, allocations: 319 kB / 0.6953 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004914/0.4433, allocations: 453 kB / 0.6957 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.4448, allocations: 1.23 MB / 0.6969 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.4448, allocations: 5.062 kB / 0.6969 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4448, allocations: 0 / 0.6969 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.901e-05/0.4449, allocations: 0 / 0.6969 GB, free: 9.68 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00229/0.4472, allocations: 1.185 MB / 0.6981 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.4472, allocations: 9.844 kB / 0.6981 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001653/0.4474, allocations: 117.5 kB / 0.6982 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/0.4491, allocations: 252.5 kB / 0.6985 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.4503, allocations: 0.6028 MB / 0.699 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.887e-05/0.4503, allocations: 47.81 kB / 0.6991 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.4505, allocations: 69.55 kB / 0.6992 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.4522, allocations: 1.092 MB / 0.7002 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.4522, allocations: 6.719 kB / 0.7002 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.735e-05/0.4523, allocations: 25.69 kB / 0.7003 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/0.4524, allocations: 84.28 kB / 0.7003 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.4537, allocations: 0.7498 MB / 0.7011 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006153/0.4598, allocations: 5.889 MB / 0.7068 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.4608, allocations: 0.507 MB / 0.7073 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004449/0.4613, allocations: 287.8 kB / 0.7076 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.129e-05/0.4613, allocations: 7.625 kB / 0.7076 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.4614, allocations: 38.59 kB / 0.7076 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 3.968e-06/0.4614, allocations: 3.984 kB / 0.7076 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.004244/0.4656, allocations: 1.989 MB / 0.7096 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.4656, allocations: 59.84 kB / 0.7096 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006986/0.4663, allocations: 0.5588 MB / 0.7102 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.439e-05/0.4664, allocations: 37.7 kB / 0.7102 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.4667, allocations: 428 kB / 0.7106 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.4669, allocations: 178.5 kB / 0.7108 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.4671, allocations: 126.6 kB / 0.7109 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.4672, allocations: 386.6 kB / 0.7113 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004337/0.4677, allocations: 273.8 kB / 0.7115 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006027/0.4683, allocations: 496.9 kB / 0.712 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.4694, allocations: 0.8054 MB / 0.7128 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.4694, allocations: 4 kB / 0.7128 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001997/0.4714, allocations: 1.087 MB / 0.7139 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.4714, allocations: 8 kB / 0.7139 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.4714, allocations: 8 kB / 0.7139 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008575/0.4723, allocations: 283.9 kB / 0.7142 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.4728, allocations: 123.8 kB / 0.7143 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007261/0.48, allocations: 7.132 MB / 0.7212 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007279/0.4808, allocations: 43.95 kB / 0.7213 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/0.4808, allocations: 24 kB / 0.7213 GB, free: 2.32 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0004348/0.4813, allocations: 261.6 kB / 0.7216 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.4814, allocations: 79.56 kB / 0.7216 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.483, allocations: 0.8847 MB / 0.7225 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.483, allocations: 7.938 kB / 0.7225 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.483, allocations: 4 kB / 0.7225 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.483, allocations: 3.984 kB / 0.7225 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002963/0.486, allocations: 1.709 MB / 0.7242 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.486, allocations: 11.92 kB / 0.7242 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/0.4863, allocations: 55.89 kB / 0.7242 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007672/0.4871, allocations: 271.3 kB / 0.7245 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.4871, allocations: 12 kB / 0.7245 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007539/0.4946, allocations: 7.119 MB / 0.7315 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.4946, allocations: 4.031 kB / 0.7315 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.4964, allocations: 0.9799 MB / 0.7324 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/0.4968, allocations: 200.6 kB / 0.7326 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.206e-05/0.4968, allocations: 11.94 kB / 0.7326 GB, free: 5.965 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/0.4972, allocations: 31.95 kB / 0.7327 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.4973, allocations: 35.95 kB / 0.7327 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.4973, allocations: 20 kB / 0.7327 GB, free: 5.879 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004917/0.4978, allocations: 387.1 kB / 0.7331 GB, free: 5.504 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4978, allocations: 0 / 0.7331 GB, free: 5.504 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008132/0.4987, allocations: 224 kB / 0.7333 GB, free: 5.285 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,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.001904/0.5006, allocations: 1.555 MB / 0.7348 GB, free: 3.672 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002137/0.5027, allocations: 1.221 MB / 0.736 GB, free: 2.398 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.5027, allocations: 8.062 kB / 0.736 GB, free: 2.391 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.5041, allocations: 0.8618 MB / 0.7369 GB, free: 1.477 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.5054, allocations: 218.8 kB / 0.7371 GB, free: 1.273 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009702/0.5151, allocations: 6.398 MB / 0.7433 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007232/0.5158, allocations: 1.024 MB / 0.7443 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004311/0.5162, allocations: 118 kB / 0.7444 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/0.5165, allocations: 255.3 kB / 0.7447 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.5165, allocations: 0 / 0.7447 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05721/0.5738, allocations: 17.6 MB / 0.7619 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.24, allocations: 9.234 kB / 0.7619 GB, free: 7.809 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.723181281238794] Failed to read output from testmodel.py, exit status != 0: 11.333683245349675 11.347656499 10.899955372 Calling exit ...