Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.001608/0.001608, allocations: 118.2 kB / 17.13 MB, free: 5.918 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.001582/0.001582, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.428/1.428, 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/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.002397/0.002397, allocations: 284.2 kB / 303.6 MB, free: 3.668 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 1.088/1.088, allocations: 180.9 MB / 0.5268 GB, free: 2.699 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: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002818/0.002818, allocations: 103.8 kB / 0.7259 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5167/0.5196, allocations: 94.15 MB / 0.8179 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01129/0.5308, allocations: 11.26 MB / 0.8289 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01036/0.5412, allocations: 5.845 MB / 0.8346 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.5423, allocations: 50.09 kB / 0.8346 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004434/0.5468, allocations: 1.752 MB / 0.8363 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003527/0.5503, allocations: 1.18 MB / 0.8375 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.5528, allocations: 0.8206 MB / 0.8383 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003231/0.5561, allocations: 2.118 MB / 0.8404 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001747/0.5578, allocations: 1.04 MB / 0.8414 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.5596, allocations: 0.8536 MB / 0.8422 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002223/0.5618, allocations: 0.968 MB / 0.8432 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003697/0.5622, allocations: 113.9 kB / 0.8433 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003119/0.5653, allocations: 1.207 MB / 0.8444 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007867/0.5661, allocations: 0.5385 MB / 0.845 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001341/0.5674, allocations: 0.7857 MB / 0.8457 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005522/0.5729, allocations: 2.436 MB / 0.8481 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.5729, allocations: 1.531 kB / 0.8481 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5729, allocations: 3.938 kB / 0.8481 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.231e-05/0.573, allocations: 4 kB / 0.8481 GB, free: 5.52 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.004295/0.5773, allocations: 1.918 MB / 0.85 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.5774, allocations: 8.844 kB / 0.85 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004883/0.5822, allocations: 0.6769 MB / 0.8507 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.5843, allocations: 1.011 MB / 0.8516 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-05/0.5844, allocations: 97.39 kB / 0.8517 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/0.5846, allocations: 126.5 kB / 0.8519 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00349/0.5881, allocations: 2.214 MB / 0.854 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.387e-05/0.5882, allocations: 9.312 kB / 0.854 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/0.5883, allocations: 60.75 kB / 0.8541 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002208/0.5885, allocations: 166.5 kB / 0.8543 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003068/0.5916, allocations: 1.869 MB / 0.8561 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0134/0.605, allocations: 12.46 MB / 0.8682 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004251/0.6092, allocations: 1.877 MB / 0.8701 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008371/0.6101, allocations: 0.5573 MB / 0.8706 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.6103, allocations: 100.4 kB / 0.8707 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.6103, allocations: 47.5 kB / 0.8708 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=103): time 2.755e-06/0.6103, allocations: 3.938 kB / 0.8708 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110): time 0.006723/0.617, allocations: 3.732 MB / 0.8744 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.6171, allocations: 63 kB / 0.8745 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.6185, allocations: 0.9181 MB / 0.8754 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.099e-05/0.6186, allocations: 41.27 kB / 0.8754 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005888/0.6191, allocations: 0.7485 MB / 0.8761 GB, free: 204 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003877/0.6195, allocations: 410.5 kB / 0.8765 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004324/0.62, allocations: 289.7 kB / 0.8768 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6201, allocations: 305.1 kB / 0.8771 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009985/0.6211, allocations: 0.6133 MB / 0.8777 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.6225, allocations: 1.107 MB / 0.8788 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002572/0.6251, allocations: 1.833 MB / 0.8806 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.6251, allocations: 4.844 kB / 0.8806 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00387/0.629, allocations: 2.102 MB / 0.8826 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.629, allocations: 14.06 kB / 0.8826 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.629, allocations: 15.97 kB / 0.8826 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008527/0.6299, allocations: 262.5 kB / 0.8829 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.6312, allocations: 372.2 kB / 0.8833 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009996/0.6412, allocations: 11.59 MB / 0.8946 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.6427, allocations: 119.9 kB / 0.8947 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.6428, allocations: 75.92 kB / 0.8948 GB, free: 15.21 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000777/0.6436, allocations: 405.3 kB / 0.8951 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/0.6439, allocations: 135.2 kB / 0.8953 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003128/0.647, allocations: 1.669 MB / 0.8969 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.647, allocations: 15.94 kB / 0.8969 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.647, allocations: 4 kB / 0.8969 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.647, allocations: 7.969 kB / 0.8969 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005589/0.6526, allocations: 3.291 MB / 0.9001 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.6526, allocations: 4.688 kB / 0.9002 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008883/0.6535, allocations: 223.6 kB / 0.9004 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007471/0.6543, allocations: 250.6 kB / 0.9006 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.472e-05/0.6543, allocations: 27.94 kB / 0.9006 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01014/0.6645, allocations: 11.57 MB / 0.9119 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.6645, allocations: 12.16 kB / 0.9119 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003148/0.6676, allocations: 1.796 MB / 0.9137 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007467/0.6684, allocations: 312.1 kB / 0.914 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.6686, allocations: 27.95 kB / 0.914 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000754/0.6693, allocations: 91.86 kB / 0.9141 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/0.6696, allocations: 104.6 kB / 0.9142 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.312e-05/0.6696, allocations: 32 kB / 0.9142 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008598/0.6705, allocations: 0.6177 MB / 0.9148 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.6705, allocations: 0 / 0.9148 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001572/0.6721, allocations: 392 kB / 0.9152 GB, free: 8.797 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002674/0.6723, allocations: 147 kB / 0.9154 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003904/0.6762, allocations: 2.399 MB / 0.9177 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.6762, allocations: 4 kB / 0.9177 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00227/0.6785, allocations: 1.586 MB / 0.9192 GB, free: 4.453 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.6804, allocations: 359.5 kB / 0.9196 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004922/0.6853, allocations: 2.894 MB / 0.9224 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.6864, allocations: 1.327 MB / 0.9237 GB, free: 15.75 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004489/0.6868, allocations: 111.4 kB / 0.9238 GB, free: 15.64 MB / 0.67 GB Notification: Performance of SimCode: time 1.172e-06/0.6868, allocations: 3.938 kB / 0.9238 GB, free: 15.64 MB / 0.67 GB Notification: Performance of Templates: time 0.06867/0.7555, allocations: 59.5 MB / 0.9819 GB, free: 4.145 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.674523801077157] Failed to read output from testmodel.py, exit status != 0: 0.7636229780036956 0.7766480240000001 0.20077060300000002 Calling exit ...