Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001868/0.001867, allocations: 187.2 kB / 16.62 MB, free: 6.613 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.619/1.619, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.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.923/1.923, allocations: 292.3 MB / 0.5489 GB, free: 12.75 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.001368/0.001368, allocations: 68.89 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2702, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002469/0.2727, allocations: 0.8449 MB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001313/0.2729, allocations: 43.78 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.24e-05/0.2729, allocations: 0 / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.434e-05/0.273, allocations: 15.8 kB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.554e-05/0.2731, allocations: 7.875 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.302e-05/0.2731, allocations: 23.98 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.2733, allocations: 75.77 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.2735, allocations: 37.38 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.52e-05/0.2735, allocations: 31.86 kB / 0.7852 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.376e-05/0.2736, allocations: 31.8 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.2736, allocations: 8 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/0.2736, allocations: 8 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.96e-05/0.2737, allocations: 15.86 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.937e-05/0.2737, allocations: 39.73 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.2739, allocations: 83.62 kB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.2739, allocations: 0 / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2739, allocations: 3.938 kB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.2739, allocations: 0 / 0.7854 GB, free: 11.48 MB / 0.6075 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.0005288/0.2744, allocations: 395.1 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.2745, allocations: 8.031 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.2746, allocations: 16.75 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.2748, allocations: 192.2 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.2748, allocations: 4.375 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.2748, allocations: 8.375 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.275, allocations: 91.94 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.275, allocations: 4.188 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.2751, allocations: 3.938 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.2751, allocations: 4 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.549e-05/0.2752, allocations: 39.92 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006827/0.2759, allocations: 444.5 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.32e-05/0.2759, allocations: 45.28 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.222e-05/0.276, allocations: 17.84 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.276, allocations: 0 / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.276, allocations: 34.56 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.515e-06/0.276, allocations: 0 / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002027/0.2762, allocations: 61.69 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.2763, allocations: 85.08 kB / 0.7867 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.2765, allocations: 168.5 kB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.2765, allocations: 25.7 kB / 0.7869 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.2766, allocations: 111.9 kB / 0.787 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.2766, allocations: 7.906 kB / 0.787 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.2766, allocations: 17.7 kB / 0.7871 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.2767, allocations: 322.8 kB / 0.7874 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.059e-05/0.2768, allocations: 12 kB / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.398e-05/0.2768, allocations: 21.7 kB / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.471e-05/0.2769, allocations: 29.72 kB / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2769, allocations: 0 / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.875e-05/0.277, allocations: 65.53 kB / 0.7875 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.277, allocations: 6.656 kB / 0.7875 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.277, allocations: 8 kB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.277, allocations: 0 / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.871e-05/0.2771, allocations: 11.94 kB / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2771, allocations: 0 / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.182e-05/0.2771, allocations: 3.906 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.2771, allocations: 4 kB / 0.7875 GB, free: 8.992 MB / 0.6075 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.888e-05/0.2772, allocations: 117.8 kB / 0.7876 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.2773, allocations: 7.906 kB / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.2773, allocations: 20.48 kB / 0.7877 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.2773, allocations: 4.094 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2773, allocations: 3.984 kB / 0.7877 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.2774, allocations: 0 / 0.7877 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004133/0.2778, allocations: 482.7 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2778, allocations: 0 / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/0.2778, allocations: 4 kB / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2778, allocations: 0 / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.2778, allocations: 64 / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.2778, allocations: 8 kB / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2778, allocations: 0 / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.78e-05/0.278, allocations: 81.83 kB / 0.7882 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.278, allocations: 88.92 kB / 0.7883 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.278, allocations: 3.938 kB / 0.7883 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.297e-05/0.2781, allocations: 4 kB / 0.7883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.2781, allocations: 12.02 kB / 0.7883 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.2781, allocations: 0 / 0.7883 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001088/0.2782, allocations: 126.1 kB / 0.7884 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2782, allocations: 0 / 0.7884 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001884/0.2784, allocations: 8 kB / 0.7885 GB, free: 7.93 MB / 0.6075 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.0001584/0.2786, allocations: 99.25 kB / 0.7885 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.2787, allocations: 16 kB / 0.7886 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.2787, allocations: 8.062 kB / 0.7886 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-05/0.2787, allocations: 7.984 kB / 0.7886 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.2789, allocations: 14.34 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.2792, allocations: 170.2 kB / 0.7888 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.2796, allocations: 0.7041 MB / 0.7894 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.499e-05/0.2797, allocations: 12.42 kB / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.2797, allocations: 11.44 kB / 0.7895 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of SimCode: time 2.435e-06/0.2797, allocations: 0 / 0.7895 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of Templates: time 0.002541/0.2822, allocations: 485.5 kB / 0.7899 GB, free: 6.355 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)