Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 197.9 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.163/3.163, allocations: 472.6 MB / 0.7447 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 67.12 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4081, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.004094/0.4122, allocations: 1.877 MB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00236/0.4146, allocations: 1.244 MB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004834/0.4151, allocations: 8 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.4155, allocations: 55.5 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.4158, allocations: 31.73 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.4164, allocations: 147.8 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000649/0.4171, allocations: 453 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005493/0.4176, allocations: 263.4 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.4179, allocations: 147.3 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.4181, allocations: 179 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.4181, allocations: 24 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.687e-05/0.4182, allocations: 27.94 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.4183, allocations: 91.59 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.4185, allocations: 182.8 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005087/0.419, allocations: 0.5297 MB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.419, allocations: 3.984 kB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.92e-07/0.419, allocations: 0 / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.419, allocations: 4 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001347/0.4204, allocations: 0.7385 MB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.4204, allocations: 16.03 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.4206, allocations: 56.28 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/0.421, allocations: 348.3 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.4211, allocations: 29.38 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.078e-05/0.4211, allocations: 40.38 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007308/0.4219, allocations: 411.5 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.4219, allocations: 4.188 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.4219, allocations: 19.94 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.422, allocations: 12 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005661/0.4225, allocations: 275.9 kB / 1.075 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/0.4246, allocations: 1.37 MB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007109/0.4253, allocations: 254.8 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.4256, allocations: 114.4 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.4256, allocations: 0 / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.4257, allocations: 46.48 kB / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.313e-06/0.4257, allocations: 0 / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0006714/0.4263, allocations: 298.9 kB / 1.077 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.4264, allocations: 102.8 kB / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004648/0.4269, allocations: 409.5 kB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.4269, allocations: 37.69 kB / 1.077 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.4271, allocations: 247.7 kB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.735e-05/0.4272, allocations: 67 kB / 1.077 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.4273, allocations: 69.92 kB / 1.077 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.4275, allocations: 350.8 kB / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.4277, allocations: 110.1 kB / 1.078 GB, free: 48 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.4281, allocations: 216.3 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/0.4286, allocations: 268.9 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.4286, allocations: 0 / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000683/0.4293, allocations: 372.8 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4293, allocations: 4 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4293, allocations: 4 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.4293, allocations: 7.938 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.4296, allocations: 67.91 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.4296, allocations: 8.203 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.4299, allocations: 59.52 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.4299, allocations: 12 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002695/0.4302, allocations: 204.8 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000228/0.4304, allocations: 183 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003098/0.4308, allocations: 229.3 kB / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.4308, allocations: 0 / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004987/0.4313, allocations: 310.6 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.4313, allocations: 8 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-06/0.4313, allocations: 0 / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.4313, allocations: 8.297 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.4315, allocations: 67.86 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.4316, allocations: 4 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.4318, allocations: 43.7 kB / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.4318, allocations: 16 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.432, allocations: 196.1 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.03e-05/0.432, allocations: 39.47 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004892/0.4325, allocations: 255.1 kB / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.4325, allocations: 4 kB / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4325, allocations: 0 / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.4326, allocations: 3.984 kB / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.4338, allocations: 0.7833 MB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4338, allocations: 4 kB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.434, allocations: 43.91 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.434, allocations: 4 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.4341, allocations: 4 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4341, allocations: 8.156 kB / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4341, allocations: 0 / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000797/0.4349, allocations: 461.5 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.101e-05/0.435, allocations: 124.6 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.271e-05/0.435, allocations: 4 kB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.4352, allocations: 19.98 kB / 1.082 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.4353, allocations: 19.92 kB / 1.082 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.4353, allocations: 7.984 kB / 1.082 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003058/0.4356, allocations: 287.2 kB / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4356, allocations: 0 / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004931/0.4361, allocations: 131.5 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001957/0.4363, allocations: 107.2 kB / 1.082 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007736/0.4371, allocations: 401.5 kB / 1.083 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4371, allocations: 0 / 1.083 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.4373, allocations: 89.08 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006394/0.4379, allocations: 69.73 kB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.4393, allocations: 0.8131 MB / 1.084 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.4398, allocations: 0.7999 MB / 1.084 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001936/0.44, allocations: 47.19 kB / 1.084 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.995e-05/0.4401, allocations: 31.44 kB / 1.084 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of SimCode: time 3.3e-07/0.4401, allocations: 0 / 1.084 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of Templates: time 0.007906/0.4481, allocations: 3.316 MB / 1.088 GB, free: 5.645 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1)