Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.768/1.768, allocations: 288.2 MB / 303.2 MB, free: 8.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001188/0.001188, allocations: 182.2 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 102.8 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004029, allocations: 11.38 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2417, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.004405/0.2462, allocations: 4.726 MB / 0.9841 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003571/0.2498, allocations: 1.671 MB / 0.9857 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.2509, allocations: 35.88 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.2512, allocations: 114.6 kB / 0.9859 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008291/0.252, allocations: 257 kB / 0.9861 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.2531, allocations: 462.9 kB / 0.9866 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001166/0.2543, allocations: 0.965 MB / 0.9875 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006346/0.255, allocations: 0.5265 MB / 0.988 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003755/0.2554, allocations: 370 kB / 0.9884 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003405/0.2557, allocations: 429.2 kB / 0.9888 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.526e-05/0.2558, allocations: 40 kB / 0.9888 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.2559, allocations: 47.98 kB / 0.9889 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.2561, allocations: 175.1 kB / 0.989 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.2562, allocations: 232.9 kB / 0.9893 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008555/0.2571, allocations: 1.473 MB / 0.9907 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2571, allocations: 0 / 0.9907 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2571, allocations: 4 kB / 0.9907 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.239e-05/0.2571, allocations: 0 / 0.9907 GB, free: 16.05 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002426/0.2596, allocations: 1.578 MB / 0.9922 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.2596, allocations: 12.02 kB / 0.9923 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001628/0.2598, allocations: 168.9 kB / 0.9924 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.26, allocations: 166 kB / 0.9926 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009931/0.261, allocations: 0.7775 MB / 0.9933 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.696e-05/0.2611, allocations: 86.17 kB / 0.9934 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.2612, allocations: 112 kB / 0.9935 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.2628, allocations: 1.096 MB / 0.9946 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.2628, allocations: 3.938 kB / 0.9946 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.699e-05/0.2629, allocations: 48 kB / 0.9946 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.2629, allocations: 27.94 kB / 0.9947 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.2644, allocations: 0.8551 MB / 0.9955 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00468/0.2691, allocations: 3.963 MB / 0.9994 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.2711, allocations: 1.061 MB / 1 GB, free: 5.777 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.2711, allocations: 8.656 kB / 1 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007153/0.2719, allocations: 440.7 kB / 1.001 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=84): time 3.667e-06/0.2719, allocations: 0 / 1.001 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of matching and sorting (n=84): time 0.002024/0.2739, allocations: 1.105 MB / 1.002 GB, free: 4.219 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.274, allocations: 214.6 kB / 1.002 GB, free: 3.961 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009412/0.2749, allocations: 0.9154 MB / 1.003 GB, free: 3.027 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.801e-05/0.275, allocations: 49.7 kB / 1.003 GB, free: 2.973 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.2754, allocations: 0.578 MB / 1.004 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.2755, allocations: 295.7 kB / 1.004 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.2756, allocations: 20 kB / 1.004 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.629e-05/0.2756, allocations: 342 kB / 1.004 GB, free: 1.734 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006222/0.2763, allocations: 357.8 kB / 1.005 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007269/0.277, allocations: 0.5795 MB / 1.005 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006882/0.2777, allocations: 444.4 kB / 1.006 GB, free: 280 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2777, allocations: 4 kB / 1.006 GB, free: 276 kB / 0.6198 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002075/0.2798, allocations: 1.103 MB / 1.007 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007086/0.2805, allocations: 1.706 MB / 1.008 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.2806, allocations: 4 kB / 1.008 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.2806, allocations: 12 kB / 1.008 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008057/0.2814, allocations: 207.7 kB / 1.009 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/0.2814, allocations: 11.94 kB / 1.009 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008752/0.2823, allocations: 202.9 kB / 1.009 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.858e-05/0.2824, allocations: 39.98 kB / 1.009 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.2824, allocations: 9.828 kB / 1.009 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001224/0.2836, allocations: 0.8019 MB / 1.01 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2837, allocations: 4 kB / 1.01 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2837, allocations: 12 kB / 1.01 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005669/0.2843, allocations: 179.7 kB / 1.01 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.2843, allocations: 8.562 kB / 1.01 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006754/0.285, allocations: 155.1 kB / 1.01 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.542e-05/0.285, allocations: 39.98 kB / 1.01 GB, free: 11.64 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,noLimPID.noTri.y,limPI.noTri.y,limPIDOri.noTri.y,limPID.noTri.y,$PRE.pulse.booPul.y,pulse.booPul.y,limP.noTri.y,limPD.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * 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.000567/0.2856, allocations: 342.6 kB / 1.01 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.2857, allocations: 118.5 kB / 1.01 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.286, allocations: 119.7 kB / 1.011 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.286, allocations: 8 kB / 1.011 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.286, allocations: 0 / 1.011 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.286, allocations: 7.922 kB / 1.011 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.2872, allocations: 1.007 MB / 1.012 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2872, allocations: 3.938 kB / 1.012 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006836/0.2879, allocations: 167.8 kB / 1.012 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.2879, allocations: 0 / 1.012 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/0.288, allocations: 27.94 kB / 1.012 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.288, allocations: 8 kB / 1.012 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.288, allocations: 3.938 kB / 1.012 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/0.2903, allocations: 1.257 MB / 1.013 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.2905, allocations: 195.4 kB / 1.013 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.95e-05/0.2906, allocations: 20 kB / 1.013 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.291, allocations: 79.91 kB / 1.013 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/0.2911, allocations: 48.92 kB / 1.013 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.2912, allocations: 20 kB / 1.013 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008362/0.292, allocations: 0.6163 MB / 1.014 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.292, allocations: 0 / 1.014 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001087/0.2931, allocations: 406.3 kB / 1.014 GB, free: 7.102 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002629/0.2958, allocations: 1.844 MB / 1.016 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002678/0.2985, allocations: 1.393 MB / 1.017 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.2985, allocations: 0 / 1.017 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007117/0.2992, allocations: 401.8 kB / 1.018 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.3003, allocations: 236.2 kB / 1.018 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006456/0.3068, allocations: 6.277 MB / 1.024 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007864/0.3076, allocations: 1.124 MB / 1.025 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006864/0.3083, allocations: 136.3 kB / 1.025 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006283/0.3089, allocations: 483.3 kB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of SimCode: time 1.262e-06/0.309, allocations: 0 / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04241/0.3514, allocations: 20.55 MB / 1.046 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/0.3516, allocations: 200 kB / 1.046 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.516/2.867, allocations: 0 / 1.046 GB, free: 6.348 MB / 0.6667 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)