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.001023/0.001023, allocations: 92.86 kB / 15.7 MB, free: 472 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.001307/0.001307, allocations: 169.6 kB / 16.58 MB, free: 6.395 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.4/1.4, allocations: 223.3 MB / 240.6 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6752/0.6752, allocations: 115.5 MB / 407.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003684, allocations: 8.844 kB / 495.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1751, allocations: 77.52 MB / 0.5593 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005343/0.1805, allocations: 3.582 MB / 0.5628 GB, free: 5.797 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00273/0.1832, allocations: 1.497 MB / 0.5643 GB, free: 4.293 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.1835, allocations: 8 kB / 0.5643 GB, free: 4.285 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.1838, allocations: 59.5 kB / 0.5643 GB, free: 4.227 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005165/0.1843, allocations: 183.1 kB / 0.5645 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.1848, allocations: 173.8 kB / 0.5647 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006206/0.1854, allocations: 0.6153 MB / 0.5653 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004716/0.1859, allocations: 389.7 kB / 0.5657 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.1861, allocations: 183.3 kB / 0.5658 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003937/0.1865, allocations: 239.1 kB / 0.5661 GB, free: 2.438 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.1866, allocations: 20 kB / 0.5661 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.1868, allocations: 71.89 kB / 0.5661 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.187, allocations: 131.6 kB / 0.5663 GB, free: 2.219 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.794e-05/0.1871, allocations: 93.52 kB / 0.5664 GB, free: 2.121 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.1875, allocations: 395.2 kB / 0.5667 GB, free: 1.734 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.1875, allocations: 3.984 kB / 0.5667 GB, free: 1.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1875, allocations: 0 / 0.5667 GB, free: 1.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.1875, allocations: 0 / 0.5667 GB, free: 1.73 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.001048/0.1885, allocations: 0.6183 MB / 0.5673 GB, free: 1.062 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1886, allocations: 8.031 kB / 0.5674 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006782/0.1893, allocations: 115.4 kB / 0.5675 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.1897, allocations: 298.3 kB / 0.5677 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.54e-05/0.1897, allocations: 54.69 kB / 0.5678 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-05/0.1898, allocations: 32 kB / 0.5678 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008367/0.1906, allocations: 0.501 MB / 0.5683 GB, free: 0 / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1907, allocations: 8 kB / 0.5683 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.897e-05/0.1907, allocations: 12 kB / 0.5683 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.717e-05/0.1908, allocations: 32.98 kB / 0.5684 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007008/0.1915, allocations: 387.7 kB / 0.5687 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002434/0.1939, allocations: 2.235 MB / 0.5709 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006605/0.1946, allocations: 250.7 kB / 0.5712 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/0.195, allocations: 164.7 kB / 0.5713 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.195, allocations: 7.938 kB / 0.5713 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.1951, allocations: 38.56 kB / 0.5714 GB, free: 12.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/0.1951, allocations: 4 kB / 0.5714 GB, free: 12.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001443/0.1965, allocations: 0.5869 MB / 0.5719 GB, free: 11.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.1966, allocations: 55.34 kB / 0.572 GB, free: 11.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.1968, allocations: 232.9 kB / 0.5722 GB, free: 11.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.1968, allocations: 29.7 kB / 0.5722 GB, free: 11.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.197, allocations: 207.7 kB / 0.5724 GB, free: 11.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/0.197, allocations: 66.95 kB / 0.5725 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.262e-05/0.1971, allocations: 4 kB / 0.5725 GB, free: 11.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1972, allocations: 334.8 kB / 0.5728 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.1974, allocations: 91.94 kB / 0.5729 GB, free: 10.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.1977, allocations: 183.1 kB / 0.5731 GB, free: 10.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.1979, allocations: 122.1 kB / 0.5732 GB, free: 10.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1979, allocations: 4 kB / 0.5732 GB, free: 10.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008105/0.1988, allocations: 378.9 kB / 0.5736 GB, free: 10.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.1989, allocations: 165 kB / 0.5737 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.1989, allocations: 8 kB / 0.5737 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004847/0.1994, allocations: 113.6 kB / 0.5738 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.1996, allocations: 47.92 kB / 0.5739 GB, free: 9.863 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003031/0.2027, allocations: 2.821 MB / 0.5766 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.2029, allocations: 35.78 kB / 0.5767 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.203, allocations: 15.92 kB / 0.5767 GB, free: 6.715 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.114e-06/0.203, allocations: 4 kB / 0.5767 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000713/0.2037, allocations: 316.4 kB / 0.577 GB, free: 6.398 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2037, allocations: 4.312 kB / 0.577 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002776/0.204, allocations: 76.78 kB / 0.5771 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.2042, allocations: 67.86 kB / 0.5771 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.206, allocations: 1.487 MB / 0.5786 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.2062, allocations: 39.8 kB / 0.5786 GB, free: 4.594 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.2062, allocations: 8 kB / 0.5786 GB, free: 4.586 MB / 446.1 MB 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 (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.0002454/0.2065, allocations: 253 kB / 0.5789 GB, free: 4.328 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.2066, allocations: 15.81 kB / 0.5789 GB, free: 4.312 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.512e-05/0.2066, allocations: 38.12 kB / 0.5789 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2066, allocations: 0 / 0.5789 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2066, allocations: 0 / 0.5789 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2066, allocations: 0 / 0.5789 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.2079, allocations: 0.8348 MB / 0.5797 GB, free: 3.363 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.208, allocations: 0 / 0.5797 GB, free: 3.363 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.2081, allocations: 39.92 kB / 0.5798 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003565/0.2085, allocations: 105.7 kB / 0.5799 GB, free: 3.215 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.2085, allocations: 4 kB / 0.5799 GB, free: 3.211 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002687/0.2112, allocations: 2.807 MB / 0.5826 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.2112, allocations: 7.969 kB / 0.5826 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3053/0.5165, allocations: 413.2 kB / 0.583 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.5167, allocations: 119 kB / 0.5831 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.5167, allocations: 5.75 kB / 0.5832 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.5169, allocations: 17.31 kB / 0.5832 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.517, allocations: 18.91 kB / 0.5832 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.517, allocations: 5.234 kB / 0.5832 GB, free: 29.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.5172, allocations: 159.8 kB / 0.5833 GB, free: 29.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5172, allocations: 0.6562 kB / 0.5833 GB, free: 29.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007014/0.5179, allocations: 170 kB / 0.5835 GB, free: 29.91 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 15 * 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.0001186/0.518, allocations: 104.6 kB / 0.5836 GB, free: 29.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.5199, allocations: 0.7777 MB / 0.5844 GB, free: 29.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5199, allocations: 0 / 0.5844 GB, free: 29.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007159/0.5206, allocations: 378.2 kB / 0.5847 GB, free: 29.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.5211, allocations: 44.88 kB / 0.5848 GB, free: 29.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.5222, allocations: 0.7055 MB / 0.5855 GB, free: 28.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.5225, allocations: 0.8067 MB / 0.5862 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002072/0.5227, allocations: 55.33 kB / 0.5863 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.5228, allocations: 18.38 kB / 0.5863 GB, free: 28.19 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5228, allocations: 0 / 0.5863 GB, free: 28.19 MB / 446.1 MB Notification: Performance of Templates: time 0.009866/0.5327, allocations: 4.154 MB / 0.5904 GB, free: 28.03 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)