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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 181.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5252/0.5252, allocations: 91.97 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.2 MB / 354.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008556/0.0008555, allocations: 92.28 kB / 427.4 MB, free: 3.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004083, allocations: 8 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1751, allocations: 72.31 MB / 0.5689 GB, free: 1.832 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4866/0.6618, allocations: 109.5 MB / 0.6759 GB, free: 10.88 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.6621, allocations: 83.95 kB / 0.6759 GB, free: 10.8 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04614/0.7083, allocations: 16.94 MB / 0.6925 GB, free: 9.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.7083, allocations: 0 / 0.6925 GB, free: 9.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001089/0.7084, allocations: 15.94 kB / 0.6925 GB, free: 9.824 MB / 490.7 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.002811/0.7112, allocations: 1.071 MB / 0.6936 GB, free: 8.695 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.7113, allocations: 12.03 kB / 0.6936 GB, free: 8.684 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002557/0.7116, allocations: 90.52 kB / 0.6937 GB, free: 8.586 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003208/0.7119, allocations: 94.88 kB / 0.6937 GB, free: 8.492 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.7133, allocations: 0.5746 MB / 0.6943 GB, free: 7.871 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.7134, allocations: 108.3 kB / 0.6944 GB, free: 7.754 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.7136, allocations: 51.91 kB / 0.6945 GB, free: 7.703 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.7149, allocations: 0.6564 MB / 0.6951 GB, free: 6.996 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.7149, allocations: 8 kB / 0.6951 GB, free: 6.988 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.346e-05/0.715, allocations: 23.94 kB / 0.6951 GB, free: 6.965 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.715, allocations: 12 kB / 0.6951 GB, free: 6.953 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.7161, allocations: 0.4918 MB / 0.6956 GB, free: 6.465 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003407/0.7195, allocations: 2.208 MB / 0.6978 GB, free: 4.168 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.7209, allocations: 0.606 MB / 0.6984 GB, free: 3.547 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.725e-05/0.721, allocations: 4 kB / 0.6984 GB, free: 3.543 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007228/0.7217, allocations: 318.9 kB / 0.6987 GB, free: 3.219 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 2.144e-06/0.7217, allocations: 0 / 0.6987 GB, free: 3.219 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.001591/0.7233, allocations: 0.7154 MB / 0.6994 GB, free: 2.496 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.7235, allocations: 199.7 kB / 0.6996 GB, free: 2.258 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007512/0.7242, allocations: 0.5427 MB / 0.7001 GB, free: 1.707 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.586e-05/0.7243, allocations: 37.7 kB / 0.7001 GB, free: 1.664 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.7246, allocations: 352.8 kB / 0.7005 GB, free: 1.316 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.7248, allocations: 161.7 kB / 0.7006 GB, free: 1.156 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.7248, allocations: 8 kB / 0.7006 GB, free: 1.148 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.7249, allocations: 331.1 kB / 0.7009 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000459/0.7254, allocations: 209 kB / 0.7011 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/0.7259, allocations: 339.7 kB / 0.7015 GB, free: 244 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005319/0.7265, allocations: 265.5 kB / 0.7017 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.7265, allocations: 4 kB / 0.7017 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001275/0.7278, allocations: 0.6608 MB / 0.7024 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004062/0.7282, allocations: 0.9869 MB / 0.7033 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.7282, allocations: 4 kB / 0.7033 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.7282, allocations: 4 kB / 0.7033 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/0.7288, allocations: 123.8 kB / 0.7035 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/0.7288, allocations: 11.89 kB / 0.7035 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005459/0.7294, allocations: 87.39 kB / 0.7036 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/0.7294, allocations: 20 kB / 0.7036 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.7294, allocations: 8 kB / 0.7036 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00105/0.7305, allocations: 0.5467 MB / 0.7041 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.7305, allocations: 0 / 0.7041 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.7305, allocations: 8.25 kB / 0.7041 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004567/0.731, allocations: 119.8 kB / 0.7042 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.731, allocations: 4 kB / 0.7042 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005137/0.7315, allocations: 75.59 kB / 0.7043 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.7316, allocations: 20 kB / 0.7043 GB, free: 13.2 MB / 0.4948 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 ($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.0004046/0.732, allocations: 279.7 kB / 0.7046 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.7321, allocations: 75.06 kB / 0.7047 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.7323, allocations: 79.22 kB / 0.7047 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.7323, allocations: 7.938 kB / 0.7048 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.7324, allocations: 0 / 0.7048 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.7324, allocations: 3.984 kB / 0.7048 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008257/0.7332, allocations: 0.6568 MB / 0.7054 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.7332, allocations: 4 kB / 0.7054 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004924/0.7337, allocations: 95.88 kB / 0.7055 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.7337, allocations: 0 / 0.7055 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/0.7338, allocations: 12 kB / 0.7055 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.7338, allocations: 7.938 kB / 0.7055 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7338, allocations: 64 / 0.7055 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.7354, allocations: 0.8307 MB / 0.7063 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003117/0.7357, allocations: 204 kB / 0.7065 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.179e-05/0.7358, allocations: 8 kB / 0.7065 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005082/0.7363, allocations: 67.94 kB / 0.7066 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.553e-05/0.7364, allocations: 27.95 kB / 0.7066 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/0.7365, allocations: 19.98 kB / 0.7066 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005872/0.7371, allocations: 439 kB / 0.7071 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7371, allocations: 0 / 0.7071 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007242/0.7378, allocations: 227.4 kB / 0.7073 GB, free: 10.09 MB / 0.4948 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 (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.00191/0.7397, allocations: 1.408 MB / 0.7086 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001679/0.7414, allocations: 0.8867 MB / 0.7095 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7415, allocations: 4.125 kB / 0.7095 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004877/0.7419, allocations: 251.9 kB / 0.7098 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008462/0.7428, allocations: 174.8 kB / 0.7099 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/0.7467, allocations: 3.296 MB / 0.7131 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/0.7472, allocations: 0.9299 MB / 0.714 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004763/0.7477, allocations: 97.25 kB / 0.7141 GB, free: 2.875 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000374/0.7481, allocations: 267.3 kB / 0.7144 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of SimCode: time 2.184e-06/0.7481, allocations: 0 / 0.7144 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2694/1.018, allocations: 13.63 MB / 0.7277 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/1.018, allocations: 167.9 kB / 0.7279 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/3.499, allocations: 0 / 0.7279 GB, free: 4.953 MB / 0.5105 GB (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/linux/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)