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.001237/0.001237, 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.001643/0.001643, allocations: 172.2 kB / 16.58 MB, free: 6.059 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.431/1.431, allocations: 223.3 MB / 240.6 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7045/0.7045, allocations: 115.5 MB / 407.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 8 kB / 495.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1771, allocations: 77.54 MB / 0.5593 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.004307/0.1814, allocations: 3.119 MB / 0.5624 GB, free: 6.273 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.1845, allocations: 1.255 MB / 0.5636 GB, free: 5.012 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007851/0.1854, allocations: 27.88 kB / 0.5636 GB, free: 4.984 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004228/0.1858, allocations: 91.09 kB / 0.5637 GB, free: 4.895 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006351/0.1865, allocations: 123.1 kB / 0.5638 GB, free: 4.773 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.1877, allocations: 469.4 kB / 0.5643 GB, free: 4.328 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009526/0.1886, allocations: 0.8238 MB / 0.5651 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000438/0.1891, allocations: 251.1 kB / 0.5653 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003402/0.1894, allocations: 278.5 kB / 0.5656 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.1897, allocations: 254.3 kB / 0.5658 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.472e-05/0.1898, allocations: 20 kB / 0.5658 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.799e-05/0.1899, allocations: 24 kB / 0.5659 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.19, allocations: 107.4 kB / 0.566 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1901, allocations: 141.2 kB / 0.5661 GB, free: 2.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005313/0.1907, allocations: 0.6236 MB / 0.5667 GB, free: 1.805 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.1907, allocations: 0 / 0.5667 GB, free: 1.805 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1907, allocations: 4 kB / 0.5667 GB, free: 1.801 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1907, allocations: 0 / 0.5667 GB, free: 1.801 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.001752/0.1924, allocations: 1.071 MB / 0.5678 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1925, allocations: 12.03 kB / 0.5678 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.1926, allocations: 90.88 kB / 0.5679 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000855/0.1935, allocations: 0.5708 MB / 0.5684 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.1936, allocations: 96.41 kB / 0.5685 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.811e-05/0.1937, allocations: 55.98 kB / 0.5686 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.1948, allocations: 0.6079 MB / 0.5692 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1948, allocations: 3.938 kB / 0.5692 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.238e-05/0.1949, allocations: 24 kB / 0.5692 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.1949, allocations: 12 kB / 0.5692 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009208/0.1958, allocations: 439.6 kB / 0.5696 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002591/0.1984, allocations: 2.129 MB / 0.5717 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.1996, allocations: 0.5108 MB / 0.5722 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004665/0.2, allocations: 232.7 kB / 0.5724 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.591e-05/0.2001, allocations: 4 kB / 0.5724 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007027/0.2008, allocations: 290.2 kB / 0.5727 GB, free: 11.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 2.885e-06/0.2008, allocations: 0 / 0.5727 GB, free: 11.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.001384/0.2022, allocations: 0.6464 MB / 0.5733 GB, free: 10.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.2023, allocations: 84.86 kB / 0.5734 GB, free: 10.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006626/0.2029, allocations: 0.6149 MB / 0.574 GB, free: 10.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.203, allocations: 37.7 kB / 0.574 GB, free: 9.996 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.2033, allocations: 352.8 kB / 0.5744 GB, free: 9.648 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.2034, allocations: 149.8 kB / 0.5745 GB, free: 9.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.2034, allocations: 12 kB / 0.5745 GB, free: 9.488 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2036, allocations: 326 kB / 0.5748 GB, free: 9.164 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004064/0.204, allocations: 185 kB / 0.575 GB, free: 8.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.2045, allocations: 296.1 kB / 0.5753 GB, free: 8.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/0.2049, allocations: 234.5 kB / 0.5755 GB, free: 8.426 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.2049, allocations: 0 / 0.5755 GB, free: 8.426 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001073/0.206, allocations: 0.6139 MB / 0.5761 GB, free: 7.797 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.2062, allocations: 193.2 kB / 0.5763 GB, free: 7.566 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2062, allocations: 4 kB / 0.5763 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2062, allocations: 4 kB / 0.5763 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004476/0.2066, allocations: 115.8 kB / 0.5764 GB, free: 7.445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.2067, allocations: 4 kB / 0.5764 GB, free: 7.441 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003478/0.207, allocations: 71.41 kB / 0.5765 GB, free: 7.371 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.2071, allocations: 20 kB / 0.5765 GB, free: 7.352 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.482e-06/0.2071, allocations: 4 kB / 0.5765 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009214/0.208, allocations: 0.4998 MB / 0.577 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.208, allocations: 7.984 kB / 0.577 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.723e-06/0.208, allocations: 4 kB / 0.577 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/0.2085, allocations: 107.8 kB / 0.5771 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.2085, allocations: 8.25 kB / 0.5771 GB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.2088, allocations: 63.47 kB / 0.5772 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.2088, allocations: 19.98 kB / 0.5772 GB, free: 6.633 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002893/0.2091, allocations: 273 kB / 0.5775 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.344e-05/0.2092, allocations: 71.06 kB / 0.5775 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.2094, allocations: 79.22 kB / 0.5776 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.2094, allocations: 4 kB / 0.5776 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.2094, allocations: 11.98 kB / 0.5776 GB, free: 6.184 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.2094, allocations: 7.953 kB / 0.5776 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006558/0.2101, allocations: 0.6141 MB / 0.5782 GB, free: 5.512 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.2101, allocations: 3.984 kB / 0.5782 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004296/0.2105, allocations: 83.89 kB / 0.5783 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.2105, allocations: 7.938 kB / 0.5783 GB, free: 5.418 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.2106, allocations: 12 kB / 0.5783 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.2106, allocations: 0 / 0.5783 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2106, allocations: 4 kB / 0.5783 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.212, allocations: 0.7486 MB / 0.5791 GB, free: 4.637 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.2122, allocations: 196.2 kB / 0.5793 GB, free: 4.426 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.2123, allocations: 4 kB / 0.5793 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/0.2127, allocations: 43.97 kB / 0.5793 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.2128, allocations: 39.88 kB / 0.5793 GB, free: 4.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.2128, allocations: 12 kB / 0.5794 GB, free: 4.328 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004812/0.2133, allocations: 427 kB / 0.5798 GB, free: 3.918 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2133, allocations: 0 / 0.5798 GB, free: 3.918 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005872/0.2139, allocations: 219.3 kB / 0.58 GB, free: 3.703 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001441/0.214, allocations: 119 kB / 0.5801 GB, free: 3.578 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.2155, allocations: 0.8048 MB / 0.5809 GB, free: 2.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.185e-06/0.2155, allocations: 0 / 0.5809 GB, free: 2.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004486/0.216, allocations: 228 kB / 0.5811 GB, free: 2.527 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008407/0.2168, allocations: 181.7 kB / 0.5813 GB, free: 2.352 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.2189, allocations: 1.38 MB / 0.5826 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3026/0.5215, allocations: 0.9183 MB / 0.5835 GB, free: 30.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006908/0.5222, allocations: 84.61 kB / 0.5836 GB, free: 30.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.5224, allocations: 47.34 kB / 0.5836 GB, free: 30.12 MB / 446.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5224, allocations: 1.406 kB / 0.5836 GB, free: 30.12 MB / 446.1 MB Notification: Performance of Templates: time 0.01815/0.5406, allocations: 6.883 MB / 0.5904 GB, free: 29.79 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)