Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.767/2.767, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.002491/0.002491, allocations: 193.5 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.241/2.241, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001178/0.001178, allocations: 85.8 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006554/0.0006557, allocations: 12.28 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2241, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.006347/0.2305, allocations: 4.726 MB / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00439/0.235, allocations: 1.679 MB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.2362, allocations: 23.94 kB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.2366, allocations: 114.6 kB / 0.9847 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.238, allocations: 255 kB / 0.9849 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.2397, allocations: 478.1 kB / 0.9854 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002045/0.2417, allocations: 0.9648 MB / 0.9863 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009428/0.2427, allocations: 0.5382 MB / 0.9869 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004686/0.2432, allocations: 362 kB / 0.9872 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004824/0.2437, allocations: 417.3 kB / 0.9876 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.2438, allocations: 36 kB / 0.9876 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.244, allocations: 55.97 kB / 0.9877 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.2442, allocations: 179 kB / 0.9879 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.2444, allocations: 229 kB / 0.9881 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.2459, allocations: 1.473 MB / 0.9895 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.246, allocations: 4 kB / 0.9895 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.974e-06/0.246, allocations: 4 kB / 0.9895 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.831e-05/0.246, allocations: 0 / 0.9895 GB, free: 16.7 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.003912/0.2499, allocations: 1.578 MB / 0.9911 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.25, allocations: 12.02 kB / 0.9911 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002483/0.2502, allocations: 172.9 kB / 0.9912 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003129/0.2506, allocations: 162 kB / 0.9914 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.2521, allocations: 0.7736 MB / 0.9921 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-05/0.2522, allocations: 86.17 kB / 0.9922 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/0.2524, allocations: 116 kB / 0.9923 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002684/0.2551, allocations: 1.093 MB / 0.9934 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.169e-05/0.2552, allocations: 0 / 0.9934 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.2553, allocations: 48 kB / 0.9935 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.609e-05/0.2554, allocations: 31.98 kB / 0.9935 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002602/0.258, allocations: 0.855 MB / 0.9943 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007447/0.2654, allocations: 3.959 MB / 0.9982 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00362/0.2691, allocations: 1.056 MB / 0.9992 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.705e-05/0.2692, allocations: 12.66 kB / 0.9992 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/0.2705, allocations: 432.8 kB / 0.9996 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=84): time 4.649e-06/0.2705, allocations: 0 / 0.9996 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of matching and sorting (n=84): time 0.003529/0.2741, allocations: 1.109 MB / 1.001 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.228e-05/0.2742, allocations: 218.6 kB / 1.001 GB, free: 4.613 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.2757, allocations: 0.9154 MB / 1.002 GB, free: 3.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000138/0.2758, allocations: 45.7 kB / 1.002 GB, free: 3.629 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004952/0.2763, allocations: 0.578 MB / 1.002 GB, free: 3.043 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.2766, allocations: 291.8 kB / 1.003 GB, free: 2.754 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-05/0.2767, allocations: 16 kB / 1.003 GB, free: 2.738 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.691e-05/0.2768, allocations: 345.9 kB / 1.003 GB, free: 2.395 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.278, allocations: 357.8 kB / 1.003 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.2794, allocations: 0.595 MB / 1.004 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.2806, allocations: 440.5 kB / 1.004 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.2807, allocations: 3.938 kB / 1.004 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003282/0.284, allocations: 1.103 MB / 1.005 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008562/0.2849, allocations: 1.702 MB / 1.007 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.2849, allocations: 4 kB / 1.007 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.98e-05/0.2849, allocations: 12 kB / 1.007 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.2865, allocations: 215.6 kB / 1.007 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.429e-05/0.2866, allocations: 8 kB / 1.007 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.2881, allocations: 206.8 kB / 1.008 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.2883, allocations: 39.98 kB / 1.008 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2883, allocations: 4 kB / 1.008 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00221/0.2905, allocations: 0.8057 MB / 1.008 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.2906, allocations: 4 kB / 1.008 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.2906, allocations: 12 kB / 1.008 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.2918, allocations: 171.7 kB / 1.009 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/0.2919, allocations: 12.5 kB / 1.009 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.2931, allocations: 155.1 kB / 1.009 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.685e-05/0.2932, allocations: 35.98 kB / 1.009 GB, free: 12.29 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.000801/0.294, allocations: 348.9 kB / 1.009 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/0.2943, allocations: 114.5 kB / 1.009 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003159/0.2946, allocations: 119.7 kB / 1.009 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.2947, allocations: 8 kB / 1.009 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.2947, allocations: 0 / 1.009 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.2947, allocations: 3.984 kB / 1.009 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.2965, allocations: 1.011 MB / 1.01 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.2965, allocations: 0 / 1.01 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/0.2979, allocations: 163.8 kB / 1.01 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.692e-05/0.298, allocations: 7.953 kB / 1.01 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.265e-05/0.2981, allocations: 27.92 kB / 1.011 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/0.2981, allocations: 4 kB / 1.011 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2981, allocations: 0 / 1.011 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004152/0.3022, allocations: 1.261 MB / 1.012 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003802/0.3027, allocations: 203.4 kB / 1.012 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.3029, allocations: 19.95 kB / 1.012 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007775/0.3037, allocations: 71.95 kB / 1.012 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.3038, allocations: 48.91 kB / 1.012 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.177e-05/0.3039, allocations: 24 kB / 1.012 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001287/0.3052, allocations: 0.6163 MB / 1.013 GB, free: 8.152 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3052, allocations: 0 / 1.013 GB, free: 8.152 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001561/0.3068, allocations: 410.3 kB / 1.013 GB, free: 7.75 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.004614/0.3114, allocations: 1.836 MB / 1.015 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004284/0.3157, allocations: 1.401 MB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/0.3158, allocations: 0 / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.3172, allocations: 397.9 kB / 1.017 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.3189, allocations: 234.9 kB / 1.017 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009456/0.3284, allocations: 6.27 MB / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/0.3296, allocations: 1.128 MB / 1.024 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001074/0.3307, allocations: 136.3 kB / 1.024 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/0.332, allocations: 483.3 kB / 1.025 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of SimCode: time 2.094e-06/0.332, allocations: 0 / 1.025 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06721/0.3992, allocations: 20.52 MB / 1.045 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002794/0.3996, allocations: 204.2 kB / 1.045 GB, free: 7.023 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.255/3.655, allocations: 0 / 1.045 GB, free: 7.023 MB / 0.6667 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.fmu > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)