Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.00166/0.00166, allocations: 107.8 kB / 16.45 MB, free: 6.445 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.00191/0.00191, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.32/1.32, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002277/0.002277, allocations: 279.1 kB / 303 MB, free: 3.613 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9863/0.9863, allocations: 180.9 MB / 0.5262 GB, free: 2.73 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002653/0.002653, allocations: 103.8 kB / 0.7248 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4471, allocations: 94.16 MB / 0.8167 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03723/0.4843, allocations: 35.68 MB / 0.8516 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01756/0.5019, allocations: 10.06 MB / 0.8614 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003204/0.5051, allocations: 152.3 kB / 0.8616 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.009501/0.5146, allocations: 3.861 MB / 0.8653 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005809/0.5204, allocations: 2.147 MB / 0.8674 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004949/0.5253, allocations: 1.97 MB / 0.8693 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00911/0.5344, allocations: 7.966 MB / 0.8771 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008854/0.5433, allocations: 7.141 MB / 0.8841 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005575/0.5489, allocations: 3.421 MB / 0.8874 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006143/0.555, allocations: 3.936 MB / 0.8913 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.5561, allocations: 0.6758 MB / 0.8919 GB, free: 3.918 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00294/0.5591, allocations: 1.467 MB / 0.8934 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002556/0.5616, allocations: 2.685 MB / 0.896 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003443/0.5651, allocations: 3.104 MB / 0.899 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.5754, allocations: 10.4 MB / 0.9092 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5754, allocations: 0 / 0.9092 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5754, allocations: 3.938 kB / 0.9092 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001826/0.5756, allocations: 0 / 0.9092 GB, free: 2.199 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01023/0.5858, allocations: 5.546 MB / 0.9146 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.5859, allocations: 12.03 kB / 0.9146 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001095/0.587, allocations: 0.7023 MB / 0.9153 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004371/0.5913, allocations: 0.9889 MB / 0.9163 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006764/0.5981, allocations: 3.192 MB / 0.9194 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000288/0.5984, allocations: 361.9 kB / 0.9197 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008311/0.5992, allocations: 464.3 kB / 0.9202 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01211/0.6113, allocations: 7.906 MB / 0.9279 GB, free: 14.53 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.5e-05/0.6114, allocations: 19.83 kB / 0.9279 GB, free: 14.51 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004483/0.6119, allocations: 208 kB / 0.9281 GB, free: 14.3 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004841/0.6124, allocations: 369.1 kB / 0.9285 GB, free: 13.94 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00939/0.6217, allocations: 5.937 MB / 0.9343 GB, free: 7.988 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0364/0.6581, allocations: 36 MB / 0.9694 GB, free: 0.7539 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00312/0.6613, allocations: 1.998 MB / 0.9714 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001791/0.6631, allocations: 1.347 MB / 0.9727 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.519e-05/0.6631, allocations: 13.31 kB / 0.9727 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.204e-05/0.6632, allocations: 55.81 kB / 0.9728 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=157): time 3.376e-06/0.6632, allocations: 0 / 0.9728 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=160): time 0.01299/0.6762, allocations: 7.574 MB / 0.9801 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.641e-05/0.6762, allocations: 72.72 kB / 0.9802 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002504/0.6787, allocations: 1.864 MB / 0.982 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.6789, allocations: 53.64 kB / 0.9821 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001565/0.6804, allocations: 2.188 MB / 0.9842 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004808/0.6809, allocations: 0.5849 MB / 0.9848 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005824/0.6815, allocations: 411.9 kB / 0.9852 GB, free: 244 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6816, allocations: 305.1 kB / 0.9855 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.6832, allocations: 1.062 MB / 0.9865 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00212/0.6853, allocations: 1.768 MB / 0.9882 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003919/0.6892, allocations: 3.041 MB / 0.9912 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.6892, allocations: 8 kB / 0.9912 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006402/0.6956, allocations: 3.906 MB / 0.995 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.6956, allocations: 16 kB / 0.9951 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/0.6957, allocations: 24 kB / 0.9951 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002309/0.698, allocations: 0.924 MB / 0.996 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.6994, allocations: 431.2 kB / 0.9964 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0212/0.7206, allocations: 22.77 MB / 1.019 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.7223, allocations: 119.9 kB / 1.019 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/0.7225, allocations: 95.98 kB / 1.019 GB, free: 11.39 MB / 0.7637 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.002463/0.7249, allocations: 1.655 MB / 1.02 GB, free: 9.723 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003632/0.7253, allocations: 274.4 kB / 1.021 GB, free: 9.453 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005219/0.7305, allocations: 3.229 MB / 1.024 GB, free: 6.172 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.7305, allocations: 16 kB / 1.024 GB, free: 6.156 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.7305, allocations: 12 kB / 1.024 GB, free: 6.145 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.7305, allocations: 7.969 kB / 1.024 GB, free: 6.137 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.7422, allocations: 7.522 MB / 1.031 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.7422, allocations: 8 kB / 1.031 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008471/0.7431, allocations: 215.6 kB / 1.031 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002146/0.7452, allocations: 0.8966 MB / 1.032 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.309e-05/0.7453, allocations: 28 kB / 1.032 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0212/0.7665, allocations: 22.74 MB / 1.055 GB, free: 4.855 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.7665, allocations: 4 kB / 1.055 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00544/0.772, allocations: 3.373 MB / 1.058 GB, free: 1.363 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/0.7732, allocations: 0.5383 MB / 1.058 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002754/0.7735, allocations: 35.94 kB / 1.058 GB, free: 0.7695 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009247/0.7744, allocations: 91.88 kB / 1.059 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003277/0.7747, allocations: 141 kB / 1.059 GB, free: 0.543 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.706e-05/0.7748, allocations: 44 kB / 1.059 GB, free: 0.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001631/0.7765, allocations: 1.225 MB / 1.06 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7765, allocations: 0 / 1.06 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002395/0.7789, allocations: 0.9062 MB / 1.061 GB, free: 14.36 MB / 0.8106 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.005354/0.7842, allocations: 3.965 MB / 1.065 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.006064/0.7903, allocations: 4.299 MB / 1.069 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.7903, allocations: 3.938 kB / 1.069 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.003943/0.7942, allocations: 2.899 MB / 1.072 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002901/0.7971, allocations: 0.8301 MB / 1.072 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03596/0.8331, allocations: 25.14 MB / 1.097 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003404/0.8365, allocations: 3.209 MB / 1.1 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001591/0.8381, allocations: 0.5254 MB / 1.101 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001882/0.8399, allocations: 1.655 MB / 1.102 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of SimCode: time 8.01e-07/0.8399, allocations: 0 / 1.102 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4503/1.29, allocations: 70.77 MB / 1.171 GB, free: 292.3 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.67, allocations: 3.312 kB / 1.171 GB, free: 292.3 MB / 0.8887 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.654265022836626] Failed to read output from testmodel.py, exit status != 0: 14.785025049000978 14.7953707 14.217627801 Calling exit ...