Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009994/0.0009992, allocations: 97.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 179.7 kB / 16.57 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.2 MB / 240.5 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7039/0.7039, allocations: 113.8 MB / 405.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003286, allocations: 8 kB / 493.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1727, allocations: 77.14 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004716/0.1775, allocations: 3.476 MB / 0.5602 GB, free: 8.125 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002679/0.1802, allocations: 1.485 MB / 0.5617 GB, free: 6.633 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/0.1804, allocations: 11.94 kB / 0.5617 GB, free: 6.621 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.1807, allocations: 59.61 kB / 0.5617 GB, free: 6.562 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005362/0.1812, allocations: 151.5 kB / 0.5619 GB, free: 6.414 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005072/0.1818, allocations: 172.9 kB / 0.5621 GB, free: 6.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000389/0.1821, allocations: 299.4 kB / 0.5623 GB, free: 5.957 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006022/0.1828, allocations: 393.2 kB / 0.5627 GB, free: 5.543 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.183, allocations: 163.4 kB / 0.5629 GB, free: 5.383 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003442/0.1834, allocations: 159.4 kB / 0.563 GB, free: 5.227 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.807e-05/0.1834, allocations: 20 kB / 0.563 GB, free: 5.207 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.1836, allocations: 83.83 kB / 0.5631 GB, free: 5.125 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.1837, allocations: 119.7 kB / 0.5632 GB, free: 5.008 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.728e-05/0.1838, allocations: 85.52 kB / 0.5633 GB, free: 4.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003868/0.1842, allocations: 403.2 kB / 0.5637 GB, free: 4.523 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1842, allocations: 4 kB / 0.5637 GB, free: 4.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1842, allocations: 0 / 0.5637 GB, free: 4.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1842, allocations: 0 / 0.5637 GB, free: 4.52 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001208/0.1854, allocations: 0.6163 MB / 0.5643 GB, free: 3.855 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.1855, allocations: 12.02 kB / 0.5643 GB, free: 3.844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007679/0.1863, allocations: 115.4 kB / 0.5644 GB, free: 3.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005506/0.1868, allocations: 302.3 kB / 0.5647 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.93e-05/0.1869, allocations: 54.7 kB / 0.5648 GB, free: 3.336 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.187, allocations: 32 kB / 0.5648 GB, free: 3.305 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007893/0.1878, allocations: 0.4968 MB / 0.5653 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.1878, allocations: 3.938 kB / 0.5653 GB, free: 2.785 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/0.1879, allocations: 19.98 kB / 0.5653 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.71e-05/0.1879, allocations: 40.86 kB / 0.5654 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006801/0.1886, allocations: 387.7 kB / 0.5657 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002806/0.1914, allocations: 2.231 MB / 0.5679 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007975/0.1922, allocations: 270.7 kB / 0.5682 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.1923, allocations: 0 / 0.5682 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.1923, allocations: 42.5 kB / 0.5682 GB, free: 15.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.1923, allocations: 0 / 0.5682 GB, free: 15.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001673/0.194, allocations: 0.5892 MB / 0.5688 GB, free: 14.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.1941, allocations: 55.41 kB / 0.5688 GB, free: 14.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.1943, allocations: 224.9 kB / 0.569 GB, free: 14.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.1944, allocations: 29.7 kB / 0.5691 GB, free: 14.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.1945, allocations: 211.7 kB / 0.5693 GB, free: 14.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/0.1946, allocations: 74.84 kB / 0.5693 GB, free: 14.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/0.1946, allocations: 8 kB / 0.5694 GB, free: 14.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1948, allocations: 326.8 kB / 0.5697 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.195, allocations: 99.92 kB / 0.5698 GB, free: 13.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.1953, allocations: 178.4 kB / 0.5699 GB, free: 13.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.1956, allocations: 123.5 kB / 0.57 GB, free: 13.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1956, allocations: 0 / 0.57 GB, free: 13.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008417/0.1965, allocations: 397.2 kB / 0.5704 GB, free: 13.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004239/0.1969, allocations: 0.877 MB / 0.5713 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1969, allocations: 0 / 0.5713 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005019/0.1974, allocations: 109.6 kB / 0.5714 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.1976, allocations: 59.84 kB / 0.5714 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00315/0.2008, allocations: 2.849 MB / 0.5742 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.2011, allocations: 35.77 kB / 0.5743 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.2011, allocations: 8 kB / 0.5743 GB, free: 8.867 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.2011, allocations: 4.188 kB / 0.5743 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006972/0.2018, allocations: 326.2 kB / 0.5746 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-06/0.2018, allocations: 4 kB / 0.5746 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002644/0.2021, allocations: 76.91 kB / 0.5747 GB, free: 8.461 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.2023, allocations: 59.91 kB / 0.5747 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.2041, allocations: 1.517 MB / 0.5762 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.2043, allocations: 31.73 kB / 0.5762 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.2044, allocations: 12 kB / 0.5762 GB, free: 6.711 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002679/0.2046, allocations: 252.9 kB / 0.5765 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.2047, allocations: 19.81 kB / 0.5765 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.843e-05/0.2048, allocations: 30.17 kB / 0.5765 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2048, allocations: 8 kB / 0.5765 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2048, allocations: 0 / 0.5765 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2048, allocations: 3.938 kB / 0.5765 GB, free: 6.398 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004522/0.2052, allocations: 373.3 kB / 0.5769 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2053, allocations: 0 / 0.5769 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.2054, allocations: 35.97 kB / 0.5769 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003625/0.2058, allocations: 101.9 kB / 0.577 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.2058, allocations: 4 kB / 0.577 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00305/0.2089, allocations: 2.83 MB / 0.5798 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2089, allocations: 0 / 0.5798 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008232/0.2097, allocations: 420.8 kB / 0.5802 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.2099, allocations: 120.7 kB / 0.5803 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.2099, allocations: 7.953 kB / 0.5803 GB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.2101, allocations: 15.98 kB / 0.5803 GB, free: 2.145 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.2102, allocations: 20.27 kB / 0.5804 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.2102, allocations: 3.984 kB / 0.5804 GB, free: 2.121 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.2104, allocations: 160.5 kB / 0.5805 GB, free: 1.965 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2104, allocations: 0 / 0.5805 GB, free: 1.965 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000648/0.2111, allocations: 163.4 kB / 0.5807 GB, free: 1.805 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001234/0.2112, allocations: 111.8 kB / 0.5808 GB, free: 1.688 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001835/0.213, allocations: 0.7729 MB / 0.5815 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.213, allocations: 192 / 0.5815 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007828/0.2138, allocations: 377.2 kB / 0.5819 GB, free: 496 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.2142, allocations: 60.55 kB / 0.5819 GB, free: 432 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2742/0.4884, allocations: 0.6738 MB / 0.5826 GB, free: 32.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.4889, allocations: 0.8172 MB / 0.5834 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003258/0.4893, allocations: 57.28 kB / 0.5835 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/0.4894, allocations: 19.72 kB / 0.5835 GB, free: 31.49 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4894, allocations: 3.344 kB / 0.5835 GB, free: 31.49 MB / 446.1 MB Notification: Performance of Templates: time 0.01048/0.4999, allocations: 4.075 MB / 0.5875 GB, free: 31.41 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)