Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 221.6 kB / 22.99 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002697/0.002697, allocations: 300.5 kB / 313.5 MB, free: 2.617 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.222/1.222, allocations: 180.6 MB / 0.5377 GB, free: 14.54 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002996/0.002996, allocations: 101.1 kB / 0.7407 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1723, allocations: 95.39 MB / 0.8339 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005492/0.1778, allocations: 3.054 MB / 0.8368 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003662/0.1814, allocations: 1.878 MB / 0.8387 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.1816, allocations: 4 kB / 0.8387 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.1826, allocations: 278.9 kB / 0.8389 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005484/0.1832, allocations: 195.1 kB / 0.8391 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007174/0.1839, allocations: 255.2 kB / 0.8394 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005027/0.1844, allocations: 326.9 kB / 0.8397 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003384/0.1847, allocations: 148.9 kB / 0.8398 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.185, allocations: 135.5 kB / 0.84 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.1853, allocations: 151.4 kB / 0.8401 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.27e-05/0.1853, allocations: 20 kB / 0.8401 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006885/0.186, allocations: 383.2 kB / 0.8405 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.1861, allocations: 91.72 kB / 0.8406 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.1863, allocations: 95.55 kB / 0.8407 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007102/0.187, allocations: 0.4905 MB / 0.8411 GB, free: 344 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.187, allocations: 4 kB / 0.8411 GB, free: 340 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.187, allocations: 0 / 0.8411 GB, free: 340 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.187, allocations: 0 / 0.8411 GB, free: 340 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009387/0.1879, allocations: 0.4893 MB / 0.8416 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.188, allocations: 9.344 kB / 0.8416 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007998/0.1888, allocations: 116.6 kB / 0.8417 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.1891, allocations: 210.1 kB / 0.8419 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.1892, allocations: 12.81 kB / 0.842 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.007e-05/0.1892, allocations: 20.38 kB / 0.842 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005957/0.1898, allocations: 400.5 kB / 0.8424 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1898, allocations: 7.938 kB / 0.8424 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.1898, allocations: 8 kB / 0.8424 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.515e-05/0.1899, allocations: 32.36 kB / 0.8424 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004998/0.1904, allocations: 285.5 kB / 0.8427 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.1924, allocations: 1.229 MB / 0.8439 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.1929, allocations: 245.7 kB / 0.8441 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.1931, allocations: 101.7 kB / 0.8442 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.092e-05/0.1932, allocations: 11.94 kB / 0.8442 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.1932, allocations: 42.48 kB / 0.8443 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.1932, allocations: 0 / 0.8443 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.002483/0.1957, allocations: 0.8956 MB / 0.8451 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.1958, allocations: 85.05 kB / 0.8452 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.196, allocations: 220.2 kB / 0.8454 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.196, allocations: 29.7 kB / 0.8455 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.1962, allocations: 168.5 kB / 0.8456 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.237e-05/0.1962, allocations: 83.28 kB / 0.8457 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.1964, allocations: 65.64 kB / 0.8458 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1965, allocations: 330.8 kB / 0.8461 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.1967, allocations: 128 kB / 0.8462 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.197, allocations: 215.1 kB / 0.8464 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005114/0.1975, allocations: 368.6 kB / 0.8467 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1975, allocations: 8 kB / 0.8468 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009144/0.1984, allocations: 0.5043 MB / 0.8472 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1985, allocations: 4 kB / 0.8473 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1985, allocations: 4 kB / 0.8473 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000524/0.199, allocations: 155.6 kB / 0.8474 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.1992, allocations: 55.91 kB / 0.8475 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003414/0.2027, allocations: 3.942 MB / 0.8513 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.2029, allocations: 19.98 kB / 0.8513 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.2029, allocations: 8 kB / 0.8513 GB, free: 5.297 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 28 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000195/0.2031, allocations: 170.8 kB / 0.8515 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-05/0.2031, allocations: 23.8 kB / 0.8515 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009104/0.2041, allocations: 473.9 kB / 0.852 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/0.2041, allocations: 4 kB / 0.852 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2041, allocations: 7.938 kB / 0.852 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2041, allocations: 0 / 0.852 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.2057, allocations: 0.9003 MB / 0.8529 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2057, allocations: 96 / 0.8529 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.2058, allocations: 39.86 kB / 0.8529 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004211/0.2062, allocations: 143.5 kB / 0.853 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.2062, allocations: 8 kB / 0.853 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003253/0.2095, allocations: 3.895 MB / 0.8568 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.2095, allocations: 4.031 kB / 0.8569 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009004/0.2104, allocations: 0.6255 MB / 0.8575 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.2105, allocations: 47.83 kB / 0.8575 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.2106, allocations: 4.25 kB / 0.8575 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.2108, allocations: 23.98 kB / 0.8575 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.2108, allocations: 31.78 kB / 0.8576 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.2109, allocations: 15.98 kB / 0.8576 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001559/0.211, allocations: 155 kB / 0.8577 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.211, allocations: 0 / 0.8577 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005192/0.2115, allocations: 87.94 kB / 0.8578 GB, free: 14.24 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000216/0.2118, allocations: 147.1 kB / 0.858 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.2128, allocations: 0.5517 MB / 0.8585 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2128, allocations: 0 / 0.8585 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00057/0.2134, allocations: 402.1 kB / 0.8589 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.2139, allocations: 51.34 kB / 0.8589 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.2151, allocations: 0.6712 MB / 0.8596 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.2153, allocations: 169.2 kB / 0.8597 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.863e-05/0.2153, allocations: 23.44 kB / 0.8598 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of SimCode: time 6.71e-07/0.2153, allocations: 4 kB / 0.8598 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of Templates: time 0.01164/0.227, allocations: 7.797 MB / 0.8674 GB, free: 4.312 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.827041381970048] Failed to read output from testmodel.py, exit status != 0: 0.23450530786067247 0.25001547900000004 0.059931175 Calling exit ...