Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.001087/0.001087, allocations: 184 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.934/1.934, allocations: 292.3 MB / 0.5495 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001589/0.00159, allocations: 67.91 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3841, allocations: 114.6 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002615/0.3868, allocations: 0.8414 MB / 0.7849 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001472/0.387, allocations: 51.78 kB / 0.7849 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.745e-05/0.387, allocations: 0 / 0.7849 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.047e-05/0.3871, allocations: 7.875 kB / 0.785 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.3872, allocations: 15.86 kB / 0.785 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.703e-05/0.3873, allocations: 15.98 kB / 0.785 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.3874, allocations: 71.78 kB / 0.7851 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.3876, allocations: 41.38 kB / 0.7851 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.251e-05/0.3877, allocations: 23.88 kB / 0.7851 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.107e-05/0.3878, allocations: 35.72 kB / 0.7852 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.3878, allocations: 8 kB / 0.7852 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.667e-05/0.3879, allocations: 8 kB / 0.7852 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.43e-05/0.3879, allocations: 15.92 kB / 0.7852 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.978e-05/0.388, allocations: 39.73 kB / 0.7852 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.3881, allocations: 87.91 kB / 0.7853 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3881, allocations: 0 / 0.7853 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of FrontEnd: time 5.881e-06/0.3881, allocations: 0 / 0.7853 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.3882, allocations: 3.938 kB / 0.7853 GB, free: 2.555 MB / 0.6544 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.0006048/0.3888, allocations: 387.2 kB / 0.7857 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.3888, allocations: 11.97 kB / 0.7857 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.3889, allocations: 16.75 kB / 0.7857 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.3891, allocations: 200.1 kB / 0.7859 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.3892, allocations: 8.375 kB / 0.7859 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.3892, allocations: 8.375 kB / 0.7859 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.3894, allocations: 94.7 kB / 0.786 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3894, allocations: 192 / 0.786 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.3894, allocations: 3.938 kB / 0.786 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.3894, allocations: 4 kB / 0.786 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.113e-05/0.3895, allocations: 39.97 kB / 0.786 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000711/0.3903, allocations: 448.5 kB / 0.7865 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.299e-05/0.3904, allocations: 41.14 kB / 0.7865 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.201e-05/0.3904, allocations: 17.84 kB / 0.7865 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.3904, allocations: 0 / 0.7865 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.3905, allocations: 42.59 kB / 0.7866 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.3905, allocations: 0 / 0.7866 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.000217/0.3907, allocations: 57.48 kB / 0.7866 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.3908, allocations: 77.11 kB / 0.7867 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.391, allocations: 173.5 kB / 0.7869 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.3911, allocations: 25.7 kB / 0.7869 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.3912, allocations: 116.1 kB / 0.787 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.086e-05/0.3912, allocations: 7.906 kB / 0.787 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.3912, allocations: 13.72 kB / 0.787 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.3914, allocations: 322.8 kB / 0.7873 GB, free: 244 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.06e-05/0.3914, allocations: 4 kB / 0.7873 GB, free: 240 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.843e-05/0.3915, allocations: 17.72 kB / 0.7874 GB, free: 216 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.3e-05/0.3915, allocations: 41.64 kB / 0.7874 GB, free: 168 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3916, allocations: 0 / 0.7874 GB, free: 168 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.319e-05/0.3916, allocations: 53.61 kB / 0.7874 GB, free: 108 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3917, allocations: 4 kB / 0.7874 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3917, allocations: 3.938 kB / 0.7874 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.3917, allocations: 0 / 0.7874 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.459e-05/0.3918, allocations: 19.92 kB / 0.7875 GB, free: 80 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3918, allocations: 3.938 kB / 0.7875 GB, free: 76 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.3918, allocations: 4 kB / 0.7875 GB, free: 72 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.3919, allocations: 4.062 kB / 0.7875 GB, free: 68 kB / 0.6544 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 0.4503/0.8421, allocations: 108.9 kB / 0.7876 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.8422, allocations: 10.53 kB / 0.7876 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.402e-05/0.8423, allocations: 15.8 kB / 0.7876 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.8423, allocations: 0 / 0.7876 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.8423, allocations: 1.188 kB / 0.7876 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.8423, allocations: 2.016 kB / 0.7876 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.8427, allocations: 482.9 kB / 0.7881 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.8428, allocations: 6.281 kB / 0.7881 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.8428, allocations: 4.875 kB / 0.7881 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.8428, allocations: 8.891 kB / 0.7881 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.8428, allocations: 0 / 0.7881 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.8428, allocations: 3.188 kB / 0.7881 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.8429, allocations: 0 / 0.7881 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.782e-05/0.8429, allocations: 76.66 kB / 0.7882 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.843, allocations: 95.42 kB / 0.7883 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.843, allocations: 4.328 kB / 0.7883 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.588e-05/0.8431, allocations: 0 / 0.7883 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.8431, allocations: 7.094 kB / 0.7883 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.8431, allocations: 0.5 kB / 0.7883 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.098e-05/0.8432, allocations: 130.1 kB / 0.7884 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8432, allocations: 0 / 0.7884 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002269/0.8434, allocations: 9.188 kB / 0.7884 GB, free: 47.56 MB / 0.6544 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 9.979e-05/0.8435, allocations: 101.9 kB / 0.7885 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.8436, allocations: 25.92 kB / 0.7885 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.8437, allocations: 0 / 0.7885 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.3e-05/0.8437, allocations: 8.375 kB / 0.7885 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.8439, allocations: 17.62 kB / 0.7885 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.8442, allocations: 160.4 kB / 0.7887 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.8443, allocations: 0.6962 MB / 0.7894 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.528e-05/0.8444, allocations: 6.766 kB / 0.7894 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.8444, allocations: 13.75 kB / 0.7894 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.8444, allocations: 0 / 0.7894 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of Templates: time 0.002659/0.8471, allocations: 483.3 kB / 0.7899 GB, free: 46.64 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)