Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001294/0.001294, allocations: 110 kB / 18.94 MB, free: 2.949 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.001352/0.001352, allocations: 191.1 kB / 22.23 MB, free: 5.137 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 / 251 MB, free: 13.02 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.002526/0.002526, allocations: 296.1 kB / 306.5 MB, free: 8.316 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.233/1.233, allocations: 180.9 MB / 0.53 GB, free: 14.4 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.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003712/0.003712, allocations: 107.4 kB / 0.7309 GB, free: 38.95 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1613, allocations: 94.19 MB / 0.8228 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009996/0.1713, allocations: 7.061 MB / 0.8297 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005616/0.1769, allocations: 3.184 MB / 0.8328 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005481/0.1774, allocations: 43.56 kB / 0.8329 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002684/0.1801, allocations: 0.9948 MB / 0.8339 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.1814, allocations: 0.5206 MB / 0.8344 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.1825, allocations: 446 kB / 0.8348 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.1839, allocations: 1.244 MB / 0.836 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007485/0.1847, allocations: 470.8 kB / 0.8365 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005999/0.1853, allocations: 494.2 kB / 0.8369 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007067/0.186, allocations: 0.5526 MB / 0.8375 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.1861, allocations: 72 kB / 0.8375 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007953/0.1869, allocations: 387.2 kB / 0.8379 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003524/0.1872, allocations: 319.1 kB / 0.8382 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005198/0.1877, allocations: 449.7 kB / 0.8386 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.1893, allocations: 1.222 MB / 0.8398 GB, free: 356 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1893, allocations: 3.938 kB / 0.8398 GB, free: 352 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1893, allocations: 0 / 0.8398 GB, free: 352 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.622e-05/0.1894, allocations: 4 kB / 0.8398 GB, free: 348 kB / 0.5762 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.002138/0.1915, allocations: 1.119 MB / 0.8409 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1915, allocations: 12.62 kB / 0.8409 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/0.1931, allocations: 244.1 kB / 0.8412 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009948/0.1941, allocations: 0.5359 MB / 0.8417 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.492e-05/0.1941, allocations: 45.67 kB / 0.8417 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.1942, allocations: 68.33 kB / 0.8418 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.1958, allocations: 1.085 MB / 0.8429 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.1959, allocations: 11.94 kB / 0.8429 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-05/0.1959, allocations: 31.98 kB / 0.8429 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001552/0.1961, allocations: 85.25 kB / 0.843 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.1973, allocations: 0.7504 MB / 0.8437 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005939/0.2032, allocations: 5.803 MB / 0.8494 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.2042, allocations: 0.5117 MB / 0.8499 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004369/0.2047, allocations: 282 kB / 0.8502 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.2047, allocations: 8.438 kB / 0.8502 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.2047, allocations: 39 kB / 0.8502 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 1.924e-06/0.2047, allocations: 0 / 0.8502 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.003892/0.2086, allocations: 1.686 MB / 0.8519 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.2087, allocations: 55.84 kB / 0.8519 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006632/0.2093, allocations: 0.5704 MB / 0.8525 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.2094, allocations: 29.7 kB / 0.8525 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/0.2097, allocations: 432 kB / 0.8529 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.2099, allocations: 174.5 kB / 0.8531 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.2101, allocations: 126.6 kB / 0.8532 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.2103, allocations: 382.7 kB / 0.8536 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004325/0.2107, allocations: 273.9 kB / 0.8538 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006037/0.2113, allocations: 496.9 kB / 0.8543 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.2124, allocations: 0.8123 MB / 0.8551 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.2124, allocations: 4 kB / 0.8551 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001895/0.2143, allocations: 1.086 MB / 0.8561 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.2143, allocations: 8 kB / 0.8562 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.2143, allocations: 8 kB / 0.8562 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008647/0.2152, allocations: 275.5 kB / 0.8564 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004916/0.2157, allocations: 127.8 kB / 0.8565 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007099/0.2228, allocations: 6.722 MB / 0.8631 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005765/0.2234, allocations: 39.95 kB / 0.8631 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/0.2234, allocations: 31.98 kB / 0.8632 GB, free: 7.078 MB / 0.6075 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.0004024/0.2238, allocations: 254.2 kB / 0.8634 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.2239, allocations: 79.53 kB / 0.8635 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.2256, allocations: 0.877 MB / 0.8644 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.2256, allocations: 11.98 kB / 0.8644 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2257, allocations: 4 kB / 0.8644 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.2257, allocations: 3.984 kB / 0.8644 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/0.2284, allocations: 1.688 MB / 0.866 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.2284, allocations: 3.984 kB / 0.866 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.2287, allocations: 63.83 kB / 0.8661 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007606/0.2295, allocations: 271.5 kB / 0.8663 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.2295, allocations: 8 kB / 0.8664 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006924/0.2364, allocations: 6.716 MB / 0.8729 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2364, allocations: 0 / 0.8729 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.2382, allocations: 0.9919 MB / 0.8739 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003201/0.2385, allocations: 115.5 kB / 0.874 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-05/0.2386, allocations: 12 kB / 0.874 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003822/0.2389, allocations: 31.91 kB / 0.874 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.2391, allocations: 39.92 kB / 0.8741 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.2391, allocations: 16 kB / 0.8741 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004929/0.2396, allocations: 391.1 kB / 0.8745 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2396, allocations: 4 kB / 0.8745 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008377/0.2404, allocations: 228 kB / 0.8747 GB, free: 10.68 MB / 0.6231 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.0001781/0.2406, allocations: 111.1 kB / 0.8748 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002081/0.2427, allocations: 1.247 MB / 0.876 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2427, allocations: 0 / 0.876 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.244, allocations: 0.8619 MB / 0.8768 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009979/0.245, allocations: 221.6 kB / 0.8771 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.2473, allocations: 1.356 MB / 0.8784 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006727/0.248, allocations: 1.017 MB / 0.8794 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003493/0.2483, allocations: 118 kB / 0.8795 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.2485, allocations: 43.44 kB / 0.8795 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.2485, allocations: 0 / 0.8795 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of Templates: time 0.02272/0.2712, allocations: 11.86 MB / 0.8911 GB, free: 9.797 MB / 0.6387 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.443077348172665] Failed to read output from testmodel.py, exit status != 0: 0.2801883965730667 0.29528838699999993 0.10271885200000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f12f6a017b0>