Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.001041, allocations: 92.95 kB / 16.02 MB, free: 84 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.001464/0.001464, allocations: 182.7 kB / 16.92 MB, free: 6.934 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.372/1.372, allocations: 223.3 MB / 241 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6815/0.6815, allocations: 115.5 MB / 407.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004631/0.0004633, allocations: 8 kB / 495.9 MB, free: 6.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1741, allocations: 77.54 MB / 0.56 GB, free: 9.086 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.004442/0.1786, allocations: 3.491 MB / 0.5634 GB, free: 5.578 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002687/0.1813, allocations: 1.745 MB / 0.5651 GB, free: 3.824 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002399/0.1816, allocations: 4 kB / 0.5651 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.1818, allocations: 63.5 kB / 0.5651 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000662/0.1825, allocations: 239 kB / 0.5654 GB, free: 3.523 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006428/0.1832, allocations: 222.5 kB / 0.5656 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008004/0.184, allocations: 0.7012 MB / 0.5663 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005006/0.1845, allocations: 365.8 kB / 0.5666 GB, free: 2.223 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.1848, allocations: 159.3 kB / 0.5668 GB, free: 2.066 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004292/0.1852, allocations: 223.1 kB / 0.567 GB, free: 1.848 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.627e-05/0.1853, allocations: 16 kB / 0.567 GB, free: 1.832 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003942/0.1857, allocations: 227.5 kB / 0.5672 GB, free: 1.609 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.1858, allocations: 115.6 kB / 0.5673 GB, free: 1.496 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.186, allocations: 180.8 kB / 0.5675 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005405/0.1866, allocations: 494.3 kB / 0.568 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1866, allocations: 0 / 0.568 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1866, allocations: 0 / 0.568 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.1866, allocations: 0 / 0.568 GB, free: 0.8281 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001005/0.1876, allocations: 0.6003 MB / 0.5685 GB, free: 184 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1876, allocations: 8.031 kB / 0.5686 GB, free: 176 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005714/0.1882, allocations: 92.41 kB / 0.5686 GB, free: 84 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.1886, allocations: 287.6 kB / 0.5689 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.1887, allocations: 28.95 kB / 0.5689 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.346e-05/0.1887, allocations: 28.38 kB / 0.569 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008234/0.1895, allocations: 0.4902 MB / 0.5695 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1896, allocations: 3.938 kB / 0.5695 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/0.1896, allocations: 15.98 kB / 0.5695 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.784e-05/0.1897, allocations: 44.62 kB / 0.5695 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007844/0.1905, allocations: 390.2 kB / 0.5699 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.1926, allocations: 2.044 MB / 0.5719 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005522/0.1931, allocations: 218.7 kB / 0.5721 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004017/0.1935, allocations: 168.8 kB / 0.5723 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.1936, allocations: 8 kB / 0.5723 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.1936, allocations: 34.56 kB / 0.5723 GB, free: 12.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.1936, allocations: 0 / 0.5723 GB, free: 12.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.001128/0.1947, allocations: 457.8 kB / 0.5727 GB, free: 11.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.1948, allocations: 55.41 kB / 0.5728 GB, free: 11.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.195, allocations: 266.5 kB / 0.573 GB, free: 11.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.1951, allocations: 29.7 kB / 0.5731 GB, free: 11.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.1952, allocations: 207.8 kB / 0.5733 GB, free: 11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.1953, allocations: 63.05 kB / 0.5733 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.1953, allocations: 33.7 kB / 0.5734 GB, free: 10.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1954, allocations: 342.8 kB / 0.5737 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.1957, allocations: 100.5 kB / 0.5738 GB, free: 10.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.196, allocations: 211.7 kB / 0.574 GB, free: 10.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000588/0.1966, allocations: 341.3 kB / 0.5743 GB, free: 9.816 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1967, allocations: 0 / 0.5743 GB, free: 9.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008138/0.1975, allocations: 376 kB / 0.5747 GB, free: 9.441 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.1976, allocations: 198.1 kB / 0.5749 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1976, allocations: 0 / 0.5749 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001802/0.1978, allocations: 40.83 kB / 0.5749 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.1981, allocations: 71.89 kB / 0.575 GB, free: 9.082 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.1993, allocations: 1.331 MB / 0.5763 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.1996, allocations: 55.73 kB / 0.5763 GB, free: 7.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.1996, allocations: 12 kB / 0.5763 GB, free: 7.555 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.854e-06/0.1996, allocations: 4 kB / 0.5763 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006329/0.2003, allocations: 301.8 kB / 0.5766 GB, free: 7.258 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2003, allocations: 8.094 kB / 0.5766 GB, free: 7.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.2003, allocations: 8 kB / 0.5766 GB, free: 7.242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.2006, allocations: 75.83 kB / 0.5767 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2006, allocations: 7.938 kB / 0.5767 GB, free: 7.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.2008, allocations: 47.72 kB / 0.5768 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.2009, allocations: 16 kB / 0.5768 GB, free: 7.098 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001781/0.201, allocations: 245 kB / 0.577 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.2011, allocations: 23.72 kB / 0.577 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.54e-05/0.2012, allocations: 38.11 kB / 0.5771 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2012, allocations: 0 / 0.5771 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2012, allocations: 4 kB / 0.5771 GB, free: 6.785 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2012, allocations: 0 / 0.5771 GB, free: 6.785 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.2023, allocations: 0.7771 MB / 0.5778 GB, free: 5.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2024, allocations: 0 / 0.5778 GB, free: 5.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.2026, allocations: 39.97 kB / 0.5779 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.862e-05/0.2027, allocations: 32.91 kB / 0.5779 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.2027, allocations: 4 kB / 0.5779 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009035/0.2036, allocations: 1.315 MB / 0.5792 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2036, allocations: 3.938 kB / 0.5792 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006452/0.2043, allocations: 383.5 kB / 0.5796 GB, free: 4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.2044, allocations: 112.8 kB / 0.5797 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.2044, allocations: 19.91 kB / 0.5797 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.2046, allocations: 19.98 kB / 0.5797 GB, free: 3.832 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.2047, allocations: 15.98 kB / 0.5797 GB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.2047, allocations: 4 kB / 0.5797 GB, free: 3.812 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001668/0.2049, allocations: 190 kB / 0.5799 GB, free: 3.629 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2049, allocations: 0 / 0.5799 GB, free: 3.629 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005336/0.2054, allocations: 143.5 kB / 0.58 GB, free: 3.488 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 (18): * 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: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001128/0.2055, allocations: 103.2 kB / 0.5801 GB, free: 3.375 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.2066, allocations: 0.5158 MB / 0.5806 GB, free: 2.848 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2066, allocations: 0 / 0.5806 GB, free: 2.848 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003724/0.207, allocations: 239.2 kB / 0.5809 GB, free: 2.602 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.2075, allocations: 62.95 kB / 0.5809 GB, free: 2.543 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009099/0.2084, allocations: 0.7027 MB / 0.5816 GB, free: 1.809 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.2088, allocations: 0.8035 MB / 0.5824 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002301/0.209, allocations: 62.23 kB / 0.5825 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.893e-05/0.2091, allocations: 23.44 kB / 0.5825 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2091, allocations: 0 / 0.5825 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of Templates: time 0.2524/0.4616, allocations: 3.189 MB / 0.5856 GB, free: 29.53 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)