Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.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.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009035/0.0009037, 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.001083/0.001083, allocations: 183.9 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.438/1.438, allocations: 223.3 MB / 241 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.7189/0.7189, allocations: 115.5 MB / 407.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003837, allocations: 8.781 kB / 495.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1811, allocations: 77.52 MB / 0.5599 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.004399/0.1855, allocations: 3.296 MB / 0.5631 GB, free: 5.727 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002975/0.1885, allocations: 1.29 MB / 0.5644 GB, free: 4.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008573/0.1894, allocations: 23.88 kB / 0.5644 GB, free: 4.406 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004378/0.1899, allocations: 91.11 kB / 0.5645 GB, free: 4.316 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009105/0.1908, allocations: 135.1 kB / 0.5646 GB, free: 4.184 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.1923, allocations: 0.5339 MB / 0.5652 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.1938, allocations: 0.8978 MB / 0.566 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007244/0.1945, allocations: 333.6 kB / 0.5664 GB, free: 2.422 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006171/0.1952, allocations: 290.2 kB / 0.5666 GB, free: 2.137 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005014/0.1957, allocations: 270.1 kB / 0.5669 GB, free: 1.871 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.1958, allocations: 20 kB / 0.5669 GB, free: 1.852 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.232e-05/0.1959, allocations: 20 kB / 0.5669 GB, free: 1.832 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.196, allocations: 115.3 kB / 0.567 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003625/0.1964, allocations: 335.4 kB / 0.5674 GB, free: 1.383 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008114/0.1972, allocations: 0.7783 MB / 0.5681 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1972, allocations: 0 / 0.5681 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.1973, allocations: 3.984 kB / 0.5681 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.1973, allocations: 4 kB / 0.5681 GB, free: 0.5938 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002021/0.1993, allocations: 1.065 MB / 0.5692 GB, free: 15.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.1994, allocations: 8.031 kB / 0.5692 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.1995, allocations: 95.81 kB / 0.5693 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008798/0.2004, allocations: 0.5831 MB / 0.5698 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.2005, allocations: 105 kB / 0.5699 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-05/0.2006, allocations: 56.36 kB / 0.57 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.2018, allocations: 0.6159 MB / 0.5706 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.2018, allocations: 0 / 0.5706 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.517e-05/0.2018, allocations: 20 kB / 0.5706 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.2019, allocations: 16 kB / 0.5706 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009709/0.2028, allocations: 443.6 kB / 0.571 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002816/0.2057, allocations: 2.133 MB / 0.5731 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.2069, allocations: 0.5231 MB / 0.5736 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004642/0.2074, allocations: 224.8 kB / 0.5739 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.561e-05/0.2074, allocations: 7.984 kB / 0.5739 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006888/0.2081, allocations: 294.6 kB / 0.5741 GB, free: 10.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 2.485e-06/0.2081, allocations: 3.938 kB / 0.5742 GB, free: 10.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.001508/0.2097, allocations: 0.6397 MB / 0.5748 GB, free: 9.523 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.2097, allocations: 92.84 kB / 0.5749 GB, free: 9.414 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006808/0.2104, allocations: 0.6138 MB / 0.5755 GB, free: 8.793 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/0.2105, allocations: 33.7 kB / 0.5755 GB, free: 8.754 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.2108, allocations: 356.8 kB / 0.5758 GB, free: 8.402 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.2109, allocations: 153.8 kB / 0.576 GB, free: 8.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.467e-05/0.211, allocations: 53.69 kB / 0.576 GB, free: 8.191 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2111, allocations: 330 kB / 0.5763 GB, free: 7.863 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/0.2116, allocations: 181 kB / 0.5765 GB, free: 7.688 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005198/0.2121, allocations: 296.2 kB / 0.5768 GB, free: 7.363 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009409/0.213, allocations: 490 kB / 0.5773 GB, free: 6.844 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2131, allocations: 3.938 kB / 0.5773 GB, free: 6.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001181/0.2142, allocations: 0.6256 MB / 0.5779 GB, free: 6.203 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.2144, allocations: 190.7 kB / 0.5781 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2144, allocations: 4 kB / 0.5781 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.2144, allocations: 4 kB / 0.5781 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/0.2149, allocations: 115.8 kB / 0.5782 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.2149, allocations: 8 kB / 0.5782 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.2153, allocations: 71.41 kB / 0.5783 GB, free: 5.777 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.2154, allocations: 16 kB / 0.5783 GB, free: 5.762 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.193e-06/0.2154, allocations: 7.938 kB / 0.5783 GB, free: 5.754 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009997/0.2164, allocations: 0.5037 MB / 0.5788 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2164, allocations: 4 kB / 0.5788 GB, free: 5.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.979e-06/0.2164, allocations: 8.312 kB / 0.5788 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/0.2169, allocations: 103.8 kB / 0.5789 GB, free: 5.129 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.2169, allocations: 8 kB / 0.5789 GB, free: 5.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.2172, allocations: 59.5 kB / 0.579 GB, free: 5.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.2173, allocations: 16 kB / 0.579 GB, free: 5.047 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: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002892/0.2176, allocations: 274.5 kB / 0.5792 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/0.2177, allocations: 75 kB / 0.5793 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001645/0.2178, allocations: 83.2 kB / 0.5794 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.2178, allocations: 4 kB / 0.5794 GB, free: 4.602 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.2179, allocations: 0 / 0.5794 GB, free: 4.602 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.2179, allocations: 7.984 kB / 0.5794 GB, free: 4.594 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006588/0.2185, allocations: 0.618 MB / 0.58 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2185, allocations: 7.875 kB / 0.58 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/0.219, allocations: 87.89 kB / 0.5801 GB, free: 3.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.219, allocations: 4 kB / 0.5801 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.2191, allocations: 15.98 kB / 0.5801 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.2191, allocations: 0 / 0.5801 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.2191, allocations: 3.938 kB / 0.5801 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.2208, allocations: 0.7551 MB / 0.5808 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.221, allocations: 188.1 kB / 0.581 GB, free: 2.832 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.606e-05/0.2211, allocations: 12 kB / 0.581 GB, free: 2.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004238/0.2215, allocations: 47.95 kB / 0.5811 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/0.2216, allocations: 27.95 kB / 0.5811 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.2216, allocations: 19.98 kB / 0.5811 GB, free: 2.727 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004703/0.2221, allocations: 431.1 kB / 0.5815 GB, free: 2.312 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2221, allocations: 0 / 0.5815 GB, free: 2.312 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005625/0.2227, allocations: 215.3 kB / 0.5817 GB, free: 2.102 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001486/0.2228, allocations: 119.1 kB / 0.5819 GB, free: 1.977 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.2244, allocations: 0.8086 MB / 0.5826 GB, free: 1.141 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.2245, allocations: 7.938 kB / 0.5827 GB, free: 1.133 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004916/0.225, allocations: 228 kB / 0.5829 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009291/0.2259, allocations: 190.5 kB / 0.5831 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3125/0.5385, allocations: 1.456 MB / 0.5845 GB, free: 29.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005838/0.5391, allocations: 0.916 MB / 0.5854 GB, free: 28.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006611/0.5398, allocations: 95.31 kB / 0.5855 GB, free: 28.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/0.54, allocations: 48.22 kB / 0.5855 GB, free: 28.98 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.54, allocations: 0 / 0.5855 GB, free: 28.98 MB / 446.1 MB Notification: Performance of Templates: time 0.0218/0.5618, allocations: 7.131 MB / 0.5925 GB, free: 28.65 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)