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: "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPID,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPID,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 100.7 kB / 16.27 MB, free: 5.977 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.001264/0.001264, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.215/1.215, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6939/0.6939, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 63.89 kB / 0.4912 GB, free: 7.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2909, allocations: 77.92 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.003828/0.2948, allocations: 3.699 MB / 0.5709 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.2965, allocations: 1.328 MB / 0.5722 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.2968, allocations: 27.66 kB / 0.5722 GB, free: 29.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.297, allocations: 125.7 kB / 0.5723 GB, free: 28.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003974/0.2974, allocations: 172.7 kB / 0.5725 GB, free: 28.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008813/0.2983, allocations: 0.5708 MB / 0.573 GB, free: 28.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006869/0.299, allocations: 0.9623 MB / 0.574 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004276/0.2994, allocations: 350.2 kB / 0.5743 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.2997, allocations: 359.6 kB / 0.5747 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.3, allocations: 355.3 kB / 0.575 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.3002, allocations: 77.31 kB / 0.5751 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.691e-05/0.3003, allocations: 78.22 kB / 0.5752 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.3004, allocations: 179.9 kB / 0.5753 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.3006, allocations: 384 kB / 0.5757 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000681/0.3013, allocations: 0.8521 MB / 0.5765 GB, free: 26.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.3013, allocations: 0 / 0.5765 GB, free: 26.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3013, allocations: 0.5312 kB / 0.5765 GB, free: 26.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.3013, allocations: 0.625 kB / 0.5765 GB, free: 26.71 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001698/0.303, allocations: 1.183 MB / 0.5777 GB, free: 25.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.3031, allocations: 10.88 kB / 0.5777 GB, free: 25.9 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.484e-05/0.3032, allocations: 91.66 kB / 0.5778 GB, free: 25.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.3033, allocations: 94.55 kB / 0.5779 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007286/0.304, allocations: 0.6002 MB / 0.5785 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.465e-05/0.3041, allocations: 98.84 kB / 0.5785 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.265e-05/0.3042, allocations: 55.31 kB / 0.5786 GB, free: 25.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009235/0.3051, allocations: 0.5999 MB / 0.5792 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3052, allocations: 2.625 kB / 0.5792 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/0.3052, allocations: 25.62 kB / 0.5792 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.3052, allocations: 16.17 kB / 0.5792 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008552/0.3061, allocations: 424.6 kB / 0.5796 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.3082, allocations: 2.114 MB / 0.5817 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.3092, allocations: 0.5053 MB / 0.5822 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003941/0.3096, allocations: 221 kB / 0.5824 GB, free: 22.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.3097, allocations: 4.594 kB / 0.5824 GB, free: 22.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005519/0.3102, allocations: 278.4 kB / 0.5827 GB, free: 22.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 1.763e-06/0.3102, allocations: 0 / 0.5827 GB, free: 22.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.001245/0.3115, allocations: 0.6127 MB / 0.5833 GB, free: 22.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.3115, allocations: 87.86 kB / 0.5834 GB, free: 22.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005325/0.3121, allocations: 0.6149 MB / 0.584 GB, free: 21.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.3121, allocations: 36.23 kB / 0.584 GB, free: 21.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.3123, allocations: 354.8 kB / 0.5843 GB, free: 21.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.012e-05/0.3124, allocations: 160.6 kB / 0.5845 GB, free: 21.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.3125, allocations: 91.59 kB / 0.5846 GB, free: 21.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.923e-05/0.3125, allocations: 335 kB / 0.5849 GB, free: 21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003809/0.3129, allocations: 177.4 kB / 0.5851 GB, free: 20.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/0.3133, allocations: 278.1 kB / 0.5853 GB, free: 20.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007707/0.3141, allocations: 486.1 kB / 0.5858 GB, free: 20.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3141, allocations: 0 / 0.5858 GB, free: 20.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009918/0.3151, allocations: 0.5936 MB / 0.5864 GB, free: 20.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.3152, allocations: 44.22 kB / 0.5864 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3152, allocations: 2.906 kB / 0.5864 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3152, allocations: 5.688 kB / 0.5864 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/0.3156, allocations: 109 kB / 0.5865 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3156, allocations: 7.875 kB / 0.5865 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.316, allocations: 69.91 kB / 0.5866 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.316, allocations: 18.19 kB / 0.5866 GB, free: 19.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004584/0.3165, allocations: 307.5 kB / 0.5869 GB, free: 19.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003663/0.3169, allocations: 266.4 kB / 0.5872 GB, free: 19.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006761/0.3175, allocations: 449.7 kB / 0.5876 GB, free: 19.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.714e-06/0.3175, allocations: 5.344 kB / 0.5876 GB, free: 19.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0009034/0.3185, allocations: 0.5829 MB / 0.5882 GB, free: 18.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3185, allocations: 33.77 kB / 0.5882 GB, free: 18.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.3185, allocations: 5.875 kB / 0.5882 GB, free: 18.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.53e-06/0.3185, allocations: 6 kB / 0.5882 GB, free: 18.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.3189, allocations: 104.4 kB / 0.5883 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3189, allocations: 5.375 kB / 0.5883 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.3192, allocations: 49.42 kB / 0.5884 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.3193, allocations: 17.91 kB / 0.5884 GB, free: 18.86 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 9.776e-05/0.3194, allocations: 217.1 kB / 0.5886 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.173e-05/0.3195, allocations: 81.39 kB / 0.5887 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.3196, allocations: 78.62 kB / 0.5887 GB, free: 18.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3196, allocations: 3.938 kB / 0.5887 GB, free: 18.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3196, allocations: 1.312 kB / 0.5887 GB, free: 18.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3196, allocations: 3.984 kB / 0.5887 GB, free: 18.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004562/0.3201, allocations: 0.6183 MB / 0.5893 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3201, allocations: 0 / 0.5893 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004233/0.3205, allocations: 90.31 kB / 0.5894 GB, free: 18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.3205, allocations: 6.031 kB / 0.5894 GB, free: 17.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.3206, allocations: 10.88 kB / 0.5894 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3206, allocations: 0.9062 kB / 0.5894 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3206, allocations: 1.094 kB / 0.5894 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.3218, allocations: 0.7365 MB / 0.5902 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.322, allocations: 185.1 kB / 0.5903 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.202e-05/0.3221, allocations: 11.28 kB / 0.5904 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.3225, allocations: 33.23 kB / 0.5904 GB, free: 17.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.996e-05/0.3225, allocations: 35.3 kB / 0.5904 GB, free: 17.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.3226, allocations: 22.02 kB / 0.5904 GB, free: 17.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003792/0.323, allocations: 425.3 kB / 0.5908 GB, free: 17.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.323, allocations: 0 / 0.5908 GB, free: 17.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005181/0.3235, allocations: 222.6 kB / 0.5911 GB, free: 17.04 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.001404/0.3249, allocations: 1.286 MB / 0.5923 GB, free: 16.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.3263, allocations: 0.8034 MB / 0.5931 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3263, allocations: 0 / 0.5931 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003911/0.3267, allocations: 222.1 kB / 0.5933 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007579/0.3275, allocations: 202.3 kB / 0.5935 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005478/0.333, allocations: 5.621 MB / 0.599 GB, free: 9.559 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.3332, allocations: 0.9141 MB / 0.5999 GB, free: 8.617 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003056/0.3335, allocations: 93.11 kB / 0.6 GB, free: 8.527 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.3337, allocations: 263.3 kB / 0.6002 GB, free: 8.27 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3337, allocations: 0 / 0.6002 GB, free: 8.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.724/2.058, allocations: 13.84 MB / 0.6137 GB, free: 10.61 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/14.71, allocations: 11.92 kB / 0.6138 GB, free: 10.6 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)