Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.001243/0.001243, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.0013/0.0013, allocations: 190.5 kB / 22.23 MB, free: 5.133 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.367/1.367, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.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.002456/0.002456, allocations: 284.4 kB / 306.5 MB, free: 8.355 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.176/1.176, allocations: 180.9 MB / 0.53 GB, free: 14.51 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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002728/0.002728, allocations: 102.3 kB / 0.7308 GB, free: 38.95 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1537, allocations: 94.19 MB / 0.8228 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02125/0.1749, allocations: 16.77 MB / 0.8392 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009153/0.1841, allocations: 4.98 MB / 0.8441 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.1856, allocations: 87.31 kB / 0.8442 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003201/0.1888, allocations: 1.084 MB / 0.8452 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002331/0.1911, allocations: 0.7738 MB / 0.846 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002464/0.1936, allocations: 0.9682 MB / 0.8469 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004308/0.1979, allocations: 3.622 MB / 0.8505 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00318/0.2011, allocations: 2.303 MB / 0.8527 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002234/0.2033, allocations: 1.617 MB / 0.8543 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002457/0.2058, allocations: 1.877 MB / 0.8561 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000438/0.2062, allocations: 336 kB / 0.8564 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.2077, allocations: 0.8192 MB / 0.8572 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001356/0.2091, allocations: 1.364 MB / 0.8586 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001601/0.2107, allocations: 1.451 MB / 0.86 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005292/0.216, allocations: 5.14 MB / 0.865 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.216, allocations: 0 / 0.865 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.216, allocations: 3.938 kB / 0.865 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.224e-05/0.2161, allocations: 4 kB / 0.865 GB, free: 6.473 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005095/0.2212, allocations: 2.638 MB / 0.8676 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2212, allocations: 12.62 kB / 0.8676 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003919/0.2251, allocations: 0.8459 MB / 0.8684 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003426/0.2285, allocations: 1.535 MB / 0.8699 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.2287, allocations: 181.1 kB / 0.8701 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004817/0.2292, allocations: 232.3 kB / 0.8703 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007279/0.2364, allocations: 4.161 MB / 0.8744 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.465e-05/0.2365, allocations: 7.875 kB / 0.8744 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002558/0.2367, allocations: 104 kB / 0.8745 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000204/0.237, allocations: 164.5 kB / 0.8746 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006436/0.2434, allocations: 3.64 MB / 0.8782 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01981/0.2632, allocations: 15.63 MB / 0.8935 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/0.2662, allocations: 1.478 MB / 0.8949 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008882/0.2671, allocations: 0.5431 MB / 0.8954 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.2672, allocations: 12.66 kB / 0.8955 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.2673, allocations: 51.19 kB / 0.8955 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=72): time 2.214e-06/0.2673, allocations: 0 / 0.8955 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.005369/0.2726, allocations: 3.201 MB / 0.8986 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.2727, allocations: 119.4 kB / 0.8987 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.274, allocations: 1.026 MB / 0.8997 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/0.2741, allocations: 37.7 kB / 0.8998 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007895/0.2749, allocations: 1.134 MB / 0.9009 GB, free: 100 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.2751, allocations: 289.6 kB / 0.9012 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004026/0.2755, allocations: 287.3 kB / 0.9014 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002198/0.2758, allocations: 410.7 kB / 0.9018 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009554/0.2767, allocations: 0.6129 MB / 0.9024 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.2781, allocations: 1.189 MB / 0.9036 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002417/0.2805, allocations: 1.868 MB / 0.9054 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.2805, allocations: 4 kB / 0.9054 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003339/0.2839, allocations: 2.019 MB / 0.9074 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.2839, allocations: 12 kB / 0.9074 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/0.2839, allocations: 20 kB / 0.9074 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004345/0.2844, allocations: 167.9 kB / 0.9076 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.2855, allocations: 343.3 kB / 0.9079 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.976e-05/0.2855, allocations: 43.84 kB / 0.9079 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008691/0.2864, allocations: 131.7 kB / 0.9081 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.531e-05/0.2865, allocations: 64 kB / 0.9081 GB, free: 8.094 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001422/0.2879, allocations: 0.9817 MB / 0.9091 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.2881, allocations: 111.3 kB / 0.9092 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/0.2903, allocations: 1.226 MB / 0.9104 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.2903, allocations: 11.94 kB / 0.9104 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.2903, allocations: 0 / 0.9104 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.2903, allocations: 11.98 kB / 0.9104 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005928/0.2962, allocations: 3.768 MB / 0.9141 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.2962, allocations: 4 kB / 0.9141 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005934/0.2968, allocations: 155.8 kB / 0.9143 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003642/0.2972, allocations: 147.5 kB / 0.9144 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/0.2972, allocations: 16.09 kB / 0.9144 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.124e-05/0.2973, allocations: 11.92 kB / 0.9144 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.2973, allocations: 4 kB / 0.9144 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.2993, allocations: 1.474 MB / 0.9159 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005102/0.2998, allocations: 203.1 kB / 0.9161 GB, free: 15.73 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.3, allocations: 20 kB / 0.9161 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005442/0.3005, allocations: 59.91 kB / 0.9161 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.3006, allocations: 68.42 kB / 0.9162 GB, free: 15.59 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.577e-05/0.3007, allocations: 27.98 kB / 0.9162 GB, free: 15.56 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000964/0.3016, allocations: 0.6914 MB / 0.9169 GB, free: 14.86 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3016, allocations: 4 kB / 0.9169 GB, free: 14.86 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00133/0.303, allocations: 384 kB / 0.9173 GB, free: 14.48 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002023/0.3032, allocations: 135 kB / 0.9174 GB, free: 14.34 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002254/0.3054, allocations: 1.359 MB / 0.9187 GB, free: 12.97 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3054, allocations: 0 / 0.9187 GB, free: 12.97 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008367/0.3063, allocations: 0.5311 MB / 0.9192 GB, free: 12.43 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.3075, allocations: 270.2 kB / 0.9195 GB, free: 12.17 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006011/0.3136, allocations: 3.835 MB / 0.9232 GB, free: 8.273 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001874/0.3154, allocations: 1.912 MB / 0.9251 GB, free: 6.324 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001089/0.3165, allocations: 457.6 kB / 0.9256 GB, free: 5.875 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.3167, allocations: 83.42 kB / 0.9256 GB, free: 5.793 MB / 0.67 GB Notification: Performance of SimCode: time 9.22e-07/0.3167, allocations: 0 / 0.9256 GB, free: 5.793 MB / 0.67 GB Notification: Performance of Templates: time 0.02837/0.3451, allocations: 14.69 MB / 0.94 GB, free: 7.25 MB / 0.6856 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.144669025205076] Failed to read output from testmodel.py, exit status != 0: 0.3523366879671812 0.366812852 0.14787681400000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f046dce17b0>