Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009857/0.0009857, allocations: 91.14 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.008093/0.008093, allocations: 172.9 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.712/1.712, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.03/3.03, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003764, allocations: 10.59 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3808, allocations: 162.2 MB / 1.074 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001341/0.3822, allocations: 0.5474 MB / 1.075 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001819/0.3824, allocations: 39.78 kB / 1.075 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.107e-05/0.3825, allocations: 4 kB / 1.075 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.929e-05/0.3826, allocations: 3.938 kB / 1.075 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.3827, allocations: 3.984 kB / 1.075 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.079e-05/0.3827, allocations: 12 kB / 1.075 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.3829, allocations: 63.78 kB / 1.075 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.383, allocations: 35.97 kB / 1.075 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.848e-05/0.3831, allocations: 19.88 kB / 1.075 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.23e-05/0.3832, allocations: 23.84 kB / 1.075 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.3832, allocations: 0 / 1.075 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.3832, allocations: 4 kB / 1.075 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.3832, allocations: 7.922 kB / 1.075 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.928e-05/0.3833, allocations: 53.45 kB / 1.075 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.3835, allocations: 60.05 kB / 1.075 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.3836, allocations: 0 / 1.075 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3836, allocations: 7.938 kB / 1.075 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.477e-06/0.3836, allocations: 0 / 1.075 GB, free: 6.598 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004937/0.3841, allocations: 371.2 kB / 1.075 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.3842, allocations: 12.03 kB / 1.075 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.3842, allocations: 8.844 kB / 1.075 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.3847, allocations: 188.2 kB / 1.076 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.3847, allocations: 4.375 kB / 1.076 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.3847, allocations: 8.375 kB / 1.076 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.3849, allocations: 109.5 kB / 1.076 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.385, allocations: 192 / 1.076 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.385, allocations: 3.938 kB / 1.076 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.385, allocations: 11.92 kB / 1.076 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.242e-05/0.3851, allocations: 35.98 kB / 1.076 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007576/0.3859, allocations: 432.6 kB / 1.076 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.157e-05/0.386, allocations: 41.22 kB / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.579e-05/0.386, allocations: 21.8 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.386, allocations: 4 kB / 1.076 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.3861, allocations: 38.56 kB / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3861, allocations: 0 / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002084/0.3863, allocations: 53.48 kB / 1.076 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.3863, allocations: 81.11 kB / 1.076 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.3866, allocations: 161.1 kB / 1.077 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.3866, allocations: 29.7 kB / 1.077 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/0.3867, allocations: 107.9 kB / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.919e-06/0.3867, allocations: 8.156 kB / 1.077 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.3867, allocations: 13.72 kB / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3869, allocations: 322.8 kB / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/0.3869, allocations: 4 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.606e-05/0.3869, allocations: 21.7 kB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.307e-05/0.387, allocations: 25.66 kB / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.387, allocations: 4 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.721e-05/0.3871, allocations: 53.61 kB / 1.077 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3871, allocations: 11.98 kB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3871, allocations: 7.875 kB / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3871, allocations: 0 / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.472e-05/0.3872, allocations: 12 kB / 1.077 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.3872, allocations: 3.984 kB / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.176e-05/0.3872, allocations: 3.938 kB / 1.077 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.3873, allocations: 4 kB / 1.077 GB, free: 4.164 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.436e-05/0.3873, allocations: 117.9 kB / 1.077 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.3874, allocations: 7.906 kB / 1.077 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.626e-05/0.3875, allocations: 15.8 kB / 1.077 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3875, allocations: 7.938 kB / 1.077 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3875, allocations: 0 / 1.077 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3875, allocations: 0 / 1.077 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.3879, allocations: 478.7 kB / 1.078 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3879, allocations: 3.938 kB / 1.078 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.902e-05/0.3879, allocations: 4 kB / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3879, allocations: 0 / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.388, allocations: 0 / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.388, allocations: 0 / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.388, allocations: 0 / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.709e-05/0.3881, allocations: 93.8 kB / 1.078 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.3881, allocations: 85 kB / 1.078 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.3881, allocations: 4 kB / 1.078 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.894e-05/0.3882, allocations: 0 / 1.078 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.028e-05/0.3882, allocations: 0 / 1.078 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-06/0.3882, allocations: 0 / 1.078 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.096e-05/0.3883, allocations: 123.2 kB / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3883, allocations: 0 / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00019/0.3885, allocations: 8 kB / 1.078 GB, free: 3.117 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001617/0.3886, allocations: 103.3 kB / 1.078 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.915e-05/0.3887, allocations: 15.94 kB / 1.078 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3888, allocations: 0 / 1.078 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.2e-05/0.3888, allocations: 4 kB / 1.078 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.389, allocations: 15.92 kB / 1.078 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.3893, allocations: 180.8 kB / 1.078 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.3896, allocations: 0.6926 MB / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.443e-05/0.3897, allocations: 12.42 kB / 1.079 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.3897, allocations: 11.44 kB / 1.079 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3897, allocations: 0 / 1.079 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of Templates: time 0.002811/0.3925, allocations: 436.5 kB / 1.079 GB, free: 1.59 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)