Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007353/0.007353, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.518/1.518, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.932/2.932, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004002, allocations: 16.86 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3717, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.0008957/0.3726, allocations: 400.5 kB / 1.075 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009198/0.3735, allocations: 0.81 MB / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.3736, allocations: 0 / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.394e-05/0.3736, allocations: 7.938 kB / 1.075 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.447e-05/0.3737, allocations: 3.938 kB / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.3738, allocations: 8 kB / 1.075 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.024e-05/0.3739, allocations: 23.92 kB / 1.075 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.758e-05/0.374, allocations: 8 kB / 1.075 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.188e-05/0.374, allocations: 11.92 kB / 1.075 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.129e-05/0.3741, allocations: 8 kB / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.3741, allocations: 0 / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.199e-05/0.3741, allocations: 4 kB / 1.075 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.3742, allocations: 11.92 kB / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.3742, allocations: 29.69 kB / 1.075 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.353e-05/0.3743, allocations: 19.91 kB / 1.075 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3743, allocations: 0 / 1.075 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3743, allocations: 0 / 1.075 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.3743, allocations: 0 / 1.075 GB, free: 6.195 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004195/0.3747, allocations: 335.8 kB / 1.076 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3748, allocations: 12.03 kB / 1.076 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.3748, allocations: 8.844 kB / 1.076 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.3749, allocations: 168.4 kB / 1.076 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.3749, allocations: 384 / 1.076 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.375, allocations: 384 / 1.076 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.3751, allocations: 62.16 kB / 1.076 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.3752, allocations: 192 / 1.076 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3752, allocations: 3.938 kB / 1.076 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3752, allocations: 4 kB / 1.076 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.3754, allocations: 39.97 kB / 1.076 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.3757, allocations: 248.9 kB / 1.076 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.3759, allocations: 50.5 kB / 1.076 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.553e-05/0.376, allocations: 28.84 kB / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.376, allocations: 4 kB / 1.076 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.376, allocations: 38.55 kB / 1.076 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.376, allocations: 0 / 1.076 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003838/0.3764, allocations: 89.75 kB / 1.077 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.3765, allocations: 51.41 kB / 1.077 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.124e-05/0.3766, allocations: 105.8 kB / 1.077 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.3766, allocations: 25.7 kB / 1.077 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.3766, allocations: 88.05 kB / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.3767, allocations: 0 / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.3767, allocations: 13.72 kB / 1.077 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3768, allocations: 314.8 kB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-05/0.3769, allocations: 27.95 kB / 1.077 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.046e-05/0.377, allocations: 19.98 kB / 1.077 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.3772, allocations: 56.81 kB / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3772, allocations: 0 / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002098/0.3774, allocations: 81.52 kB / 1.077 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3774, allocations: 8.031 kB / 1.077 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3774, allocations: 4 kB / 1.077 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.3774, allocations: 0 / 1.077 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.091e-05/0.3775, allocations: 11.98 kB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.3775, allocations: 0 / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.276e-05/0.3776, allocations: 7.984 kB / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.3776, allocations: 11.94 kB / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.825e-05/0.3777, allocations: 113.8 kB / 1.077 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.3777, allocations: 0 / 1.077 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.378, allocations: 80.78 kB / 1.077 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.378, allocations: 0 / 1.077 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.378, allocations: 8.031 kB / 1.077 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.378, allocations: 0 / 1.077 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.3782, allocations: 161.6 kB / 1.078 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3782, allocations: 0 / 1.078 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.3e-05/0.3783, allocations: 11.98 kB / 1.078 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.3783, allocations: 0 / 1.078 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.3783, allocations: 3.938 kB / 1.078 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3783, allocations: 0 / 1.078 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3783, allocations: 0 / 1.078 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.3785, allocations: 183.4 kB / 1.078 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.3786, allocations: 81.02 kB / 1.078 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.3786, allocations: 0 / 1.078 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.397e-05/0.3787, allocations: 16.02 kB / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.3788, allocations: 0 / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-06/0.3788, allocations: 0 / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.448e-05/0.3788, allocations: 87.45 kB / 1.078 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3788, allocations: 0 / 1.078 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002106/0.379, allocations: 7.938 kB / 1.078 GB, free: 3.246 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (2): * Single equations (assignments): 2 * 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.0001544/0.3792, allocations: 99.23 kB / 1.078 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.3794, allocations: 51.91 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3794, allocations: 0 / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.008e-05/0.3795, allocations: 24.05 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.3798, allocations: 15.92 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.3801, allocations: 109.9 kB / 1.078 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.3803, allocations: 0.677 MB / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.134e-05/0.3804, allocations: 4 kB / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.031e-05/0.3804, allocations: 11.38 kB / 1.079 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3804, allocations: 4.062 kB / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of Templates: time 0.002279/0.3827, allocations: 353.4 kB / 1.079 GB, free: 1.855 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1)