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.001443/0.001444, allocations: 117 kB / 17.09 MB, free: 5.938 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.001541/0.001541, allocations: 198.9 kB / 18.02 MB, free: 5.023 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.449/1.449, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7549/0.7549, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 67.33 kB / 0.5583 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1816, allocations: 76.18 MB / 0.6327 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.00574/0.1874, allocations: 3.697 MB / 0.6363 GB, free: 0.707 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003156/0.1906, allocations: 1.332 MB / 0.6376 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008301/0.1914, allocations: 23.88 kB / 0.6376 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005462/0.192, allocations: 126.6 kB / 0.6378 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009841/0.193, allocations: 178.5 kB / 0.6379 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.1945, allocations: 0.5677 MB / 0.6385 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001534/0.1961, allocations: 0.9721 MB / 0.6394 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000649/0.1967, allocations: 345.6 kB / 0.6398 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005911/0.1973, allocations: 374.4 kB / 0.6401 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003822/0.1977, allocations: 354 kB / 0.6405 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.1979, allocations: 80 kB / 0.6405 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.198, allocations: 76 kB / 0.6406 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.1981, allocations: 183.3 kB / 0.6408 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003097/0.1984, allocations: 381.7 kB / 0.6411 GB, free: 11.74 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009343/0.1994, allocations: 0.8872 MB / 0.642 GB, free: 10.85 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.1994, allocations: 4 kB / 0.642 GB, free: 10.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1994, allocations: 0 / 0.642 GB, free: 10.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.1994, allocations: 0 / 0.642 GB, free: 10.84 MB / 494.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.00204/0.2015, allocations: 1.187 MB / 0.6432 GB, free: 9.598 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.2015, allocations: 12.03 kB / 0.6432 GB, free: 9.586 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.2017, allocations: 91.81 kB / 0.6433 GB, free: 9.496 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.2027, allocations: 0.6143 MB / 0.6439 GB, free: 8.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.2028, allocations: 105 kB / 0.644 GB, free: 8.723 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.279e-05/0.2029, allocations: 48.38 kB / 0.644 GB, free: 8.676 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.204, allocations: 0.6003 MB / 0.6446 GB, free: 8.031 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.204, allocations: 4 kB / 0.6446 GB, free: 8.027 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.628e-05/0.2041, allocations: 20 kB / 0.6446 GB, free: 8.008 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.2041, allocations: 12 kB / 0.6446 GB, free: 7.996 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009503/0.2051, allocations: 427.6 kB / 0.645 GB, free: 7.578 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002656/0.2078, allocations: 2.102 MB / 0.6471 GB, free: 5.395 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.2089, allocations: 0.4956 MB / 0.6476 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004542/0.2094, allocations: 216.8 kB / 0.6478 GB, free: 4.672 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.994e-05/0.2094, allocations: 7.938 kB / 0.6478 GB, free: 4.664 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006168/0.2101, allocations: 291 kB / 0.6481 GB, free: 4.367 MB / 494.1 MB Notification: Performance of pre-optimization done (n=45): time 2.094e-06/0.2101, allocations: 0 / 0.6481 GB, free: 4.367 MB / 494.1 MB Notification: Performance of matching and sorting (n=45): time 0.001398/0.2115, allocations: 0.6034 MB / 0.6487 GB, free: 3.758 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.2116, allocations: 92.86 kB / 0.6488 GB, free: 3.648 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006694/0.2122, allocations: 0.6176 MB / 0.6494 GB, free: 3.023 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.2123, allocations: 33.7 kB / 0.6494 GB, free: 2.984 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.2126, allocations: 356.9 kB / 0.6497 GB, free: 2.629 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.2127, allocations: 153.7 kB / 0.6499 GB, free: 2.477 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.2129, allocations: 102.2 kB / 0.65 GB, free: 2.371 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.213, allocations: 326 kB / 0.6503 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004494/0.2134, allocations: 187 kB / 0.6505 GB, free: 1.859 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004833/0.2139, allocations: 276.2 kB / 0.6507 GB, free: 1.555 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008882/0.2148, allocations: 481.9 kB / 0.6512 GB, free: 1.043 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.2149, allocations: 3.938 kB / 0.6512 GB, free: 1.039 MB / 494.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001121/0.216, allocations: 0.5943 MB / 0.6518 GB, free: 440 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/0.216, allocations: 33.69 kB / 0.6518 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.216, allocations: 7.984 kB / 0.6518 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.2161, allocations: 4 kB / 0.6518 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/0.2165, allocations: 108.1 kB / 0.6519 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.2166, allocations: 12 kB / 0.6519 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.2169, allocations: 63.5 kB / 0.652 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.217, allocations: 20 kB / 0.652 GB, free: 184 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005508/0.2175, allocations: 308.7 kB / 0.6523 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004353/0.218, allocations: 268.2 kB / 0.6526 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007911/0.2188, allocations: 458 kB / 0.653 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.528e-06/0.2188, allocations: 4 kB / 0.653 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001022/0.2198, allocations: 0.5748 MB / 0.6536 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.2199, allocations: 39.09 kB / 0.6536 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.2199, allocations: 0 / 0.6536 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.02e-06/0.2199, allocations: 4 kB / 0.6536 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004227/0.2203, allocations: 103.8 kB / 0.6537 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.2203, allocations: 7.984 kB / 0.6537 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.2207, allocations: 51.83 kB / 0.6538 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.2207, allocations: 20 kB / 0.6538 GB, free: 14.28 MB / 0.4981 GB 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.0001796/0.2209, allocations: 220 kB / 0.654 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.131e-05/0.221, allocations: 71.16 kB / 0.6541 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.2212, allocations: 79.22 kB / 0.6541 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.2212, allocations: 4 kB / 0.6541 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.2212, allocations: 0 / 0.6541 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.2212, allocations: 3.984 kB / 0.6541 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006373/0.2219, allocations: 0.6218 MB / 0.6547 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2219, allocations: 4 kB / 0.6547 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000454/0.2223, allocations: 87.81 kB / 0.6548 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2224, allocations: 0 / 0.6548 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.2224, allocations: 12 kB / 0.6548 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2224, allocations: 0 / 0.6548 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2224, allocations: 0 / 0.6548 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.2239, allocations: 0.7314 MB / 0.6556 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/0.2241, allocations: 196 kB / 0.6557 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.403e-05/0.2242, allocations: 8 kB / 0.6557 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.2246, allocations: 39.95 kB / 0.6558 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.124e-05/0.2246, allocations: 31.95 kB / 0.6558 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.2247, allocations: 12 kB / 0.6558 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004857/0.2252, allocations: 435 kB / 0.6562 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2252, allocations: 0 / 0.6562 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005713/0.2258, allocations: 215.3 kB / 0.6564 GB, free: 11.44 MB / 0.4981 GB 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.0001539/0.2259, allocations: 117 kB / 0.6566 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.2275, allocations: 0.7815 MB / 0.6573 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2275, allocations: 0 / 0.6573 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004545/0.2279, allocations: 227.9 kB / 0.6575 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008937/0.2288, allocations: 197.7 kB / 0.6577 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.2309, allocations: 1.201 MB / 0.6589 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.2314, allocations: 0.914 MB / 0.6598 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.2315, allocations: 55.42 kB / 0.6598 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.2315, allocations: 0 / 0.6598 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of Templates: time 0.01272/0.2443, allocations: 8.736 MB / 0.6684 GB, free: 15.18 MB / 0.5137 GB 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)