Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001311/0.001312, allocations: 106.3 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.001445/0.001445, allocations: 187.9 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.73/1.73, 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 2.151/2.151, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.001417/0.001417, allocations: 67.91 kB / 0.6722 GB, free: 6.445 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2729, allocations: 114.6 MB / 0.7841 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002556/0.2755, allocations: 0.8492 MB / 0.7849 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001687/0.2757, allocations: 47.78 kB / 0.785 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.556e-05/0.2758, allocations: 0 / 0.785 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.425e-05/0.2759, allocations: 7.875 kB / 0.785 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.993e-05/0.276, allocations: 11.86 kB / 0.785 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.032e-05/0.2761, allocations: 19.98 kB / 0.785 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.2762, allocations: 67.72 kB / 0.7851 GB, free: 2.766 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.2764, allocations: 49.38 kB / 0.7851 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.976e-05/0.2764, allocations: 23.88 kB / 0.7851 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.399e-05/0.2765, allocations: 31.78 kB / 0.7852 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.2765, allocations: 11.98 kB / 0.7852 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.518e-05/0.2766, allocations: 8 kB / 0.7852 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.775e-05/0.2766, allocations: 15.92 kB / 0.7852 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.2766, allocations: 39.69 kB / 0.7852 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.2768, allocations: 91.83 kB / 0.7853 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2768, allocations: 4 kB / 0.7853 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2768, allocations: 0 / 0.7853 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.2768, allocations: 0 / 0.7853 GB, free: 2.492 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.000512/0.2773, allocations: 383.2 kB / 0.7857 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2774, allocations: 8.031 kB / 0.7857 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.2774, allocations: 16.75 kB / 0.7857 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.2777, allocations: 198.9 kB / 0.7859 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.2777, allocations: 8.375 kB / 0.7859 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.2777, allocations: 8.375 kB / 0.7859 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.2779, allocations: 91.95 kB / 0.786 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.2779, allocations: 192 / 0.786 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.2779, allocations: 7.938 kB / 0.786 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.2779, allocations: 7.984 kB / 0.786 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.2e-05/0.278, allocations: 39.92 kB / 0.7861 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006311/0.2787, allocations: 444.5 kB / 0.7865 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.824e-05/0.2787, allocations: 37.28 kB / 0.7865 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.291e-05/0.2788, allocations: 17.84 kB / 0.7865 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.2788, allocations: 0 / 0.7865 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.2788, allocations: 34.56 kB / 0.7866 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2788, allocations: 4 kB / 0.7866 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.000204/0.279, allocations: 57.48 kB / 0.7866 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.2791, allocations: 89.03 kB / 0.7867 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.2793, allocations: 165.5 kB / 0.7869 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.2793, allocations: 25.7 kB / 0.7869 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.2794, allocations: 115.9 kB / 0.787 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.247e-06/0.2794, allocations: 4.156 kB / 0.787 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.2794, allocations: 21.72 kB / 0.787 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2796, allocations: 322.8 kB / 0.7873 GB, free: 188 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.084e-05/0.2796, allocations: 8 kB / 0.7873 GB, free: 180 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.493e-05/0.2796, allocations: 17.7 kB / 0.7874 GB, free: 156 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.698e-05/0.2797, allocations: 33.66 kB / 0.7874 GB, free: 116 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.2797, allocations: 4 kB / 0.7874 GB, free: 112 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.723e-05/0.2798, allocations: 57.55 kB / 0.7874 GB, free: 48 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2798, allocations: 8 kB / 0.7875 GB, free: 40 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2798, allocations: 7.875 kB / 0.7875 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2798, allocations: 0 / 0.7875 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.145e-05/0.2799, allocations: 11.98 kB / 0.7875 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2799, allocations: 0 / 0.7875 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.044e-05/0.2799, allocations: 0 / 0.7875 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.2799, allocations: 4 kB / 0.7875 GB, free: 16 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.5113/0.7913, allocations: 111.3 kB / 0.7876 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.7914, allocations: 13.72 kB / 0.7876 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.961e-05/0.7915, allocations: 18.66 kB / 0.7876 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.7915, allocations: 1.094 kB / 0.7876 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.7915, allocations: 2.938 kB / 0.7876 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.7916, allocations: 0 / 0.7876 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006948/0.7923, allocations: 482 kB / 0.7881 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.7923, allocations: 2.125 kB / 0.7881 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.962e-05/0.7923, allocations: 6.047 kB / 0.7881 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.7923, allocations: 1 kB / 0.7881 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.7924, allocations: 3.375 kB / 0.7881 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.7924, allocations: 3.438 kB / 0.7881 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7924, allocations: 1.938 kB / 0.7881 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.7925, allocations: 81.88 kB / 0.7882 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.7926, allocations: 91.33 kB / 0.7883 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.7926, allocations: 3.547 kB / 0.7883 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.815e-05/0.7926, allocations: 2 kB / 0.7883 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.7927, allocations: 5.859 kB / 0.7883 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.852e-06/0.7927, allocations: 3.062 kB / 0.7883 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00011/0.7928, allocations: 127.7 kB / 0.7884 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7928, allocations: 0 / 0.7884 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002426/0.7931, allocations: 11.31 kB / 0.7884 GB, free: 47.45 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 0.0001855/0.7932, allocations: 96.95 kB / 0.7885 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.7934, allocations: 28.95 kB / 0.7885 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.7934, allocations: 0.5938 kB / 0.7885 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-05/0.7934, allocations: 9.75 kB / 0.7885 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.7937, allocations: 10.62 kB / 0.7885 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004479/0.7941, allocations: 166.8 kB / 0.7887 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.7945, allocations: 0.6964 MB / 0.7894 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.268e-05/0.7945, allocations: 6.484 kB / 0.7894 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.7946, allocations: 16.41 kB / 0.7894 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of SimCode: time 2.8e-07/0.7946, allocations: 0.6562 kB / 0.7894 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.00307/0.7977, allocations: 485.5 kB / 0.7899 GB, free: 46.52 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)