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.LimPIDInitialState.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.LimPIDInitialState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",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.496/1.496, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001257/0.001256, allocations: 184.5 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008959/0.0008962, allocations: 96.8 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003883, allocations: 11.91 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2604, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.002581/0.263, allocations: 2.324 MB / 0.9024 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.2647, allocations: 0.8664 MB / 0.9033 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003025/0.265, allocations: 11.94 kB / 0.9033 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.08e-05/0.2651, allocations: 43.5 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003899/0.2655, allocations: 71.72 kB / 0.9034 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.2658, allocations: 127.9 kB / 0.9035 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003911/0.2662, allocations: 321.3 kB / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.2665, allocations: 183.3 kB / 0.904 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.2666, allocations: 111.4 kB / 0.9041 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.2667, allocations: 139.1 kB / 0.9042 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.2668, allocations: 12 kB / 0.9043 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.824e-05/0.2668, allocations: 12 kB / 0.9043 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.108e-05/0.2669, allocations: 59.69 kB / 0.9043 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.645e-05/0.2669, allocations: 89.45 kB / 0.9044 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.2672, allocations: 451.1 kB / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2672, allocations: 4 kB / 0.9048 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2672, allocations: 0 / 0.9048 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.2673, allocations: 0 / 0.9048 GB, free: 58.99 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0009823/0.2683, allocations: 0.7209 MB / 0.9056 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2684, allocations: 8.031 kB / 0.9056 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.622e-05/0.2684, allocations: 74.53 kB / 0.9056 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.311e-05/0.2685, allocations: 59.3 kB / 0.9057 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.2689, allocations: 371.7 kB / 0.906 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.269, allocations: 29 kB / 0.9061 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.457e-05/0.269, allocations: 36 kB / 0.9061 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005695/0.2696, allocations: 426.4 kB / 0.9065 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.2696, allocations: 0 / 0.9065 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.2697, allocations: 19.98 kB / 0.9065 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.2697, allocations: 12 kB / 0.9065 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005031/0.2702, allocations: 299.7 kB / 0.9068 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.2721, allocations: 1.711 MB / 0.9085 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007123/0.2728, allocations: 287.2 kB / 0.9088 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.2728, allocations: 15.94 kB / 0.9088 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.2729, allocations: 42.48 kB / 0.9088 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.774e-06/0.2729, allocations: 0 / 0.9088 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.0006585/0.2735, allocations: 319 kB / 0.9091 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.2736, allocations: 114.8 kB / 0.9092 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004122/0.274, allocations: 433.8 kB / 0.9097 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.2741, allocations: 37.7 kB / 0.9097 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.2742, allocations: 255.9 kB / 0.9099 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.2743, allocations: 70.91 kB / 0.91 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.2743, allocations: 8 kB / 0.91 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.2744, allocations: 346.8 kB / 0.9103 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.2746, allocations: 111.9 kB / 0.9104 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.2749, allocations: 185.4 kB / 0.9106 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.2751, allocations: 138.5 kB / 0.9108 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2751, allocations: 4 kB / 0.9108 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005655/0.2757, allocations: 359.1 kB / 0.9111 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.2759, allocations: 0.6084 MB / 0.9117 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.2759, allocations: 4 kB / 0.9117 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.2759, allocations: 8 kB / 0.9117 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.2762, allocations: 71.91 kB / 0.9118 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.2762, allocations: 7.938 kB / 0.9118 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.2764, allocations: 63.5 kB / 0.9118 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.2764, allocations: 12 kB / 0.9119 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.563e-06/0.2765, allocations: 4 kB / 0.9119 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002834/0.2767, allocations: 238 kB / 0.9121 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.2768, allocations: 3.984 kB / 0.9121 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-06/0.2768, allocations: 4 kB / 0.9121 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.2769, allocations: 59.91 kB / 0.9122 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.277, allocations: 7.953 kB / 0.9122 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.2771, allocations: 43.61 kB / 0.9122 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.2771, allocations: 12 kB / 0.9122 GB, free: 51.09 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (limPI.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 (37): * Single equations (assignments): 37 * 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.0001564/0.2773, allocations: 237.2 kB / 0.9124 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.2773, allocations: 39.44 kB / 0.9125 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.586e-05/0.2774, allocations: 47.78 kB / 0.9125 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2774, allocations: 7.938 kB / 0.9125 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.2774, allocations: 3.953 kB / 0.9125 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.2775, allocations: 0 / 0.9125 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009169/0.2784, allocations: 0.7608 MB / 0.9133 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2784, allocations: 0 / 0.9133 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.2786, allocations: 55.94 kB / 0.9133 GB, free: 49.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.2786, allocations: 3.953 kB / 0.9133 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.2786, allocations: 11.98 kB / 0.9133 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2786, allocations: 4 kB / 0.9133 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2786, allocations: 0 / 0.9133 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006066/0.2792, allocations: 0.5055 MB / 0.9138 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.349e-05/0.2794, allocations: 120.5 kB / 0.914 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.2794, allocations: 8 kB / 0.914 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.2796, allocations: 23.98 kB / 0.914 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.2796, allocations: 15.98 kB / 0.914 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.2797, allocations: 4 kB / 0.914 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002632/0.2799, allocations: 307.1 kB / 0.9143 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2799, allocations: 0 / 0.9143 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004264/0.2804, allocations: 131.5 kB / 0.9144 GB, free: 48.69 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0008764/0.2813, allocations: 1.255 MB / 0.9157 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006176/0.2819, allocations: 377 kB / 0.916 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2819, allocations: 0 / 0.916 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.2821, allocations: 104.5 kB / 0.9161 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005255/0.2826, allocations: 97.42 kB / 0.9162 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.2863, allocations: 3.209 MB / 0.9193 GB, free: 43.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.2866, allocations: 0.8232 MB / 0.9201 GB, free: 42.67 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002062/0.2868, allocations: 43.27 kB / 0.9202 GB, free: 42.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.287, allocations: 147.4 kB / 0.9203 GB, free: 42.48 MB / 0.6042 GB Notification: Performance of SimCode: time 1.392e-06/0.287, allocations: 0 / 0.9203 GB, free: 42.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.3069, allocations: 7.315 MB / 0.9275 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.3071, allocations: 209 kB / 0.9277 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/2.506, allocations: 3.938 kB / 0.9277 GB, free: 35.14 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)