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.008171/0.008172, allocations: 100.8 kB / 15.87 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 197.3 kB / 16.79 MB, free: 6.246 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.411/1.411, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7757/0.7757, allocations: 122.9 MB / 413.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 68.11 kB / 0.4904 GB, free: 14.38 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1754, allocations: 77.93 MB / 0.5666 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005571/0.181, allocations: 4.123 MB / 0.5706 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002358/0.1834, allocations: 1.574 MB / 0.5721 GB, free: 10.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.1836, allocations: 7.938 kB / 0.5721 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.185, allocations: 0.5576 MB / 0.5727 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004533/0.1855, allocations: 215.1 kB / 0.5729 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004882/0.186, allocations: 207 kB / 0.5731 GB, free: 9.941 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006806/0.1867, allocations: 0.7714 MB / 0.5738 GB, free: 9.168 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004741/0.1872, allocations: 326.1 kB / 0.5741 GB, free: 8.848 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.1874, allocations: 195.2 kB / 0.5743 GB, free: 8.656 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004254/0.1878, allocations: 259.1 kB / 0.5746 GB, free: 8.402 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.905e-05/0.1879, allocations: 24 kB / 0.5746 GB, free: 8.379 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000352/0.1883, allocations: 203.6 kB / 0.5748 GB, free: 8.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.1884, allocations: 139.6 kB / 0.5749 GB, free: 8.043 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.1886, allocations: 187.1 kB / 0.5751 GB, free: 7.859 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005289/0.1891, allocations: 0.5179 MB / 0.5756 GB, free: 7.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1891, allocations: 0 / 0.5756 GB, free: 7.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1892, allocations: 0 / 0.5756 GB, free: 7.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.1892, allocations: 0 / 0.5756 GB, free: 7.34 MB / 446.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.001227/0.1904, allocations: 0.6864 MB / 0.5763 GB, free: 6.605 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1904, allocations: 8.031 kB / 0.5763 GB, free: 6.598 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007227/0.1912, allocations: 108.4 kB / 0.5764 GB, free: 6.492 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/0.1916, allocations: 299.6 kB / 0.5767 GB, free: 6.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.29e-05/0.1917, allocations: 63.25 kB / 0.5767 GB, free: 6.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.1918, allocations: 28.38 kB / 0.5768 GB, free: 6.062 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008415/0.1926, allocations: 0.5009 MB / 0.5772 GB, free: 5.543 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1926, allocations: 7.938 kB / 0.5773 GB, free: 5.535 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.109e-05/0.1927, allocations: 23.92 kB / 0.5773 GB, free: 5.512 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.715e-05/0.1927, allocations: 24.98 kB / 0.5773 GB, free: 5.484 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006989/0.1935, allocations: 383.7 kB / 0.5777 GB, free: 5.109 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.1959, allocations: 2.2 MB / 0.5798 GB, free: 2.676 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006826/0.1966, allocations: 262.7 kB / 0.5801 GB, free: 2.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003592/0.1969, allocations: 148.8 kB / 0.5802 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.197, allocations: 4 kB / 0.5802 GB, free: 2.258 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.197, allocations: 38.5 kB / 0.5802 GB, free: 2.211 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 3.106e-06/0.197, allocations: 7.984 kB / 0.5803 GB, free: 2.203 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001573/0.1986, allocations: 0.5691 MB / 0.5808 GB, free: 1.586 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.1986, allocations: 59.41 kB / 0.5809 GB, free: 1.516 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.1989, allocations: 224.9 kB / 0.5811 GB, free: 1.293 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.1989, allocations: 29.7 kB / 0.5811 GB, free: 1.258 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.1991, allocations: 215.7 kB / 0.5813 GB, free: 1.043 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.438e-05/0.1992, allocations: 63.09 kB / 0.5814 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.48e-05/0.1993, allocations: 53.61 kB / 0.5814 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1994, allocations: 334.8 kB / 0.5817 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.1996, allocations: 100.8 kB / 0.5818 GB, free: 496 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.1999, allocations: 176.1 kB / 0.582 GB, free: 280 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2642/0.4642, allocations: 276 kB / 0.5823 GB, free: 24.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.4642, allocations: 0.75 kB / 0.5823 GB, free: 24.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001139/0.4654, allocations: 376 kB / 0.5826 GB, free: 24.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.4654, allocations: 11.78 kB / 0.5826 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.4654, allocations: 1.656 kB / 0.5826 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005572/0.466, allocations: 114.5 kB / 0.5828 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.4662, allocations: 54.36 kB / 0.5828 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00251/0.4687, allocations: 2.812 MB / 0.5856 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.469, allocations: 41.25 kB / 0.5856 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.469, allocations: 16.06 kB / 0.5856 GB, free: 21.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003302/0.4694, allocations: 219.3 kB / 0.5858 GB, free: 21.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002491/0.4696, allocations: 179.3 kB / 0.586 GB, free: 21.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000432/0.4701, allocations: 272.7 kB / 0.5862 GB, free: 21.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.445e-06/0.4701, allocations: 5.031 kB / 0.5863 GB, free: 21.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007831/0.4709, allocations: 347.5 kB / 0.5866 GB, free: 21.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.4709, allocations: 6.828 kB / 0.5866 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.4709, allocations: 2.625 kB / 0.5866 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003193/0.4712, allocations: 87.47 kB / 0.5867 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.4715, allocations: 53.45 kB / 0.5867 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/0.4732, allocations: 1.501 MB / 0.5882 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.4734, allocations: 31.91 kB / 0.5882 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.4735, allocations: 9.125 kB / 0.5882 GB, free: 19.68 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.4736, allocations: 198 kB / 0.5884 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.4737, allocations: 22.88 kB / 0.5884 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.686e-05/0.4737, allocations: 30.69 kB / 0.5885 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4737, allocations: 4.266 kB / 0.5885 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4737, allocations: 1.672 kB / 0.5885 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.4738, allocations: 7.094 kB / 0.5885 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.4753, allocations: 0.8328 MB / 0.5893 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4753, allocations: 1.094 kB / 0.5893 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.4755, allocations: 32.42 kB / 0.5893 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004287/0.4759, allocations: 109.1 kB / 0.5894 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.4759, allocations: 5.781 kB / 0.5894 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002373/0.4783, allocations: 2.799 MB / 0.5922 GB, free: 16.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4783, allocations: 1.578 kB / 0.5922 GB, free: 16.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007975/0.4791, allocations: 426.3 kB / 0.5926 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.412e-05/0.4792, allocations: 119.4 kB / 0.5927 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.4793, allocations: 2.391 kB / 0.5927 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.4795, allocations: 13.25 kB / 0.5927 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.426e-05/0.4796, allocations: 23.83 kB / 0.5927 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.4796, allocations: 4.688 kB / 0.5927 GB, free: 15.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.4797, allocations: 162.9 kB / 0.5929 GB, free: 15.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4797, allocations: 0 / 0.5929 GB, free: 15.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006615/0.4804, allocations: 172.5 kB / 0.5931 GB, free: 15.64 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * 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.0001079/0.4805, allocations: 104.5 kB / 0.5932 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001916/0.4824, allocations: 0.754 MB / 0.5939 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4824, allocations: 0.6562 kB / 0.5939 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007688/0.4832, allocations: 361.4 kB / 0.5942 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.4837, allocations: 57.78 kB / 0.5943 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.4848, allocations: 0.722 MB / 0.595 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.4851, allocations: 0.813 MB / 0.5958 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002281/0.4854, allocations: 56.59 kB / 0.5958 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/0.4854, allocations: 19.34 kB / 0.5959 GB, free: 13.61 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4854, allocations: 0 / 0.5959 GB, free: 13.61 MB / 446.1 MB Notification: Performance of Templates: time 0.01022/0.4957, allocations: 4.292 MB / 0.6001 GB, free: 13.35 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)