Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.578/1.578, allocations: 249.3 MB / 261.8 MB, free: 5.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 182.1 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.2 MB / 0.572 GB, free: 10.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008885/0.0008887, allocations: 90.53 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.388e-05/4.399e-05, allocations: 4 kB / 0.7881 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2614, allocations: 106.3 MB / 0.8919 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9664/1.228, allocations: 133.9 MB / 1.023 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/1.228, allocations: 79.36 kB / 1.023 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02107/1.249, allocations: 7.956 MB / 1.031 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.963e-06/1.249, allocations: 4 kB / 1.031 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.907e-05/1.249, allocations: 12 kB / 1.031 GB, free: 10.04 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0009502/1.25, allocations: 0.6393 MB / 1.031 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/1.25, allocations: 8.031 kB / 1.031 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.528e-05/1.25, allocations: 77.84 kB / 1.031 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.694e-05/1.251, allocations: 47.44 kB / 1.031 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006559/1.251, allocations: 393.6 kB / 1.032 GB, free: 8.883 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/1.251, allocations: 27.72 kB / 1.032 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.158e-05/1.251, allocations: 34.69 kB / 1.032 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005849/1.252, allocations: 363.5 kB / 1.032 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/1.252, allocations: 0 / 1.032 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/1.252, allocations: 14.31 kB / 1.032 GB, free: 8.574 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/1.252, allocations: 12 kB / 1.032 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003958/1.252, allocations: 232.8 kB / 1.032 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/1.254, allocations: 1.435 MB / 1.034 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007518/1.255, allocations: 273.3 kB / 1.034 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/1.255, allocations: 120.3 kB / 1.034 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/1.255, allocations: 4 kB / 1.034 GB, free: 6.906 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/1.255, allocations: 34.5 kB / 1.034 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/1.255, allocations: 0 / 1.034 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25): time 0.0004451/1.256, allocations: 230.5 kB / 1.034 GB, free: 6.691 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.959e-05/1.256, allocations: 106.8 kB / 1.034 GB, free: 6.562 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004488/1.256, allocations: 355.3 kB / 1.035 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/1.256, allocations: 37.27 kB / 1.035 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/1.257, allocations: 244.2 kB / 1.035 GB, free: 6.07 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.102e-05/1.257, allocations: 83.55 kB / 1.035 GB, free: 6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/1.257, allocations: 7.375 kB / 1.035 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.257, allocations: 347.4 kB / 1.035 GB, free: 5.664 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/1.257, allocations: 80.31 kB / 1.036 GB, free: 5.621 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/1.257, allocations: 164.1 kB / 1.036 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/1.257, allocations: 96.89 kB / 1.036 GB, free: 5.418 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.257, allocations: 3.938 kB / 1.036 GB, free: 5.414 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005072/1.258, allocations: 301.4 kB / 1.036 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001918/1.258, allocations: 451.7 kB / 1.037 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.258, allocations: 3.938 kB / 1.037 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/1.258, allocations: 4 kB / 1.037 GB, free: 4.715 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/1.258, allocations: 71.2 kB / 1.037 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/1.258, allocations: 3.938 kB / 1.037 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/1.259, allocations: 66.39 kB / 1.037 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/1.259, allocations: 11.98 kB / 1.037 GB, free: 4.574 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/1.259, allocations: 4 kB / 1.037 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000344/1.259, allocations: 218 kB / 1.037 GB, free: 4.434 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-06/1.259, allocations: 0 / 1.037 GB, free: 4.434 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/1.259, allocations: 4 kB / 1.037 GB, free: 4.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/1.259, allocations: 55.36 kB / 1.037 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/1.259, allocations: 7.875 kB / 1.037 GB, free: 4.371 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/1.26, allocations: 39.08 kB / 1.037 GB, free: 4.336 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/1.26, allocations: 15.39 kB / 1.037 GB, free: 4.324 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.0001022/1.26, allocations: 119.7 kB / 1.037 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.624e-05/1.26, allocations: 39.53 kB / 1.037 GB, free: 4.168 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/1.26, allocations: 49.52 kB / 1.037 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/1.26, allocations: 0 / 1.037 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/1.26, allocations: 4 kB / 1.037 GB, free: 4.133 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.26, allocations: 0 / 1.037 GB, free: 4.133 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/1.261, allocations: 0.8501 MB / 1.038 GB, free: 3.379 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.261, allocations: 4 kB / 1.038 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/1.261, allocations: 59.84 kB / 1.038 GB, free: 3.316 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.261, allocations: 4 kB / 1.038 GB, free: 3.312 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/1.262, allocations: 11.94 kB / 1.038 GB, free: 3.305 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/1.262, allocations: 3.938 kB / 1.038 GB, free: 3.301 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.262, allocations: 4 kB / 1.038 GB, free: 3.297 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006959/1.262, allocations: 0.5939 MB / 1.039 GB, free: 2.723 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.535e-05/1.262, allocations: 126.5 kB / 1.039 GB, free: 2.586 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/1.262, allocations: 7.562 kB / 1.039 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/1.263, allocations: 27.78 kB / 1.039 GB, free: 2.559 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/1.263, allocations: 26.81 kB / 1.039 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/1.263, allocations: 4 kB / 1.039 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002942/1.263, allocations: 289.3 kB / 1.039 GB, free: 2.316 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/1.263, allocations: 0 / 1.039 GB, free: 2.316 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004613/1.263, allocations: 131.3 kB / 1.039 GB, free: 2.199 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001299/1.265, allocations: 1.767 MB / 1.041 GB, free: 484 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000611/1.265, allocations: 361.7 kB / 1.041 GB, free: 240 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.265, allocations: 0 / 1.041 GB, free: 240 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002109/1.266, allocations: 99.61 kB / 1.041 GB, free: 168 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/1.266, allocations: 93.55 kB / 1.042 GB, free: 96 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/1.268, allocations: 0.6619 MB / 1.042 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/1.268, allocations: 0.82 MB / 1.043 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002756/1.268, allocations: 59.23 kB / 1.043 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/1.268, allocations: 139.4 kB / 1.043 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of SimCode: time 5.41e-07/1.268, allocations: 0 / 1.043 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/1.291, allocations: 7.721 MB / 1.051 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002565/1.291, allocations: 198.3 kB / 1.051 GB, free: 6.762 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.372/3.663, allocations: 0 / 1.051 GB, free: 6.762 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialDerivativeOutput.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe 2>&1)