Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.To_quad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 101.4 kB / 15.69 MB, free: 140 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.001456/0.001456, allocations: 200.9 kB / 16.63 MB, free: 6.324 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.661/1.661, allocations: 205.1 MB / 222.5 MB, free: 4.402 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.85/1.85, allocations: 292.3 MB / 0.5489 GB, free: 12.78 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.00149/0.001491, allocations: 77.31 kB / 0.6723 GB, free: 25.67 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.319, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002765/0.3218, allocations: 0.8488 MB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000201/0.322, allocations: 51.72 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.3221, allocations: 0 / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.64e-05/0.3222, allocations: 7.875 kB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.3223, allocations: 11.86 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.347e-05/0.3224, allocations: 19.98 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.3225, allocations: 71.83 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.3227, allocations: 37.39 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.716e-05/0.3228, allocations: 35.73 kB / 0.7852 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.966e-05/0.3229, allocations: 35.78 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.3229, allocations: 8 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.374e-05/0.323, allocations: 8 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.323, allocations: 15.92 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.323, allocations: 39.73 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.3232, allocations: 91.5 kB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3232, allocations: 0 / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3232, allocations: 0 / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.3232, 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.0005944/0.3238, allocations: 387.2 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.3239, allocations: 8.031 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.3239, allocations: 20.73 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.3242, allocations: 192.2 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.3242, allocations: 384 / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.3243, allocations: 16.31 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.3245, allocations: 92.7 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3245, allocations: 192 / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.3245, allocations: 11.94 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.3245, allocations: 4 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.782e-05/0.3246, allocations: 39.92 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006681/0.3253, allocations: 440.6 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.812e-05/0.3254, allocations: 45.19 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.338e-05/0.3254, allocations: 13.84 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.3254, allocations: 0 / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.3255, allocations: 34.56 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.3255, allocations: 0 / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002332/0.3257, allocations: 65.47 kB / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.3258, allocations: 81.36 kB / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.326, allocations: 165.5 kB / 0.7869 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.326, allocations: 25.7 kB / 0.7869 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.383e-05/0.3261, allocations: 115.9 kB / 0.787 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.3261, allocations: 7.906 kB / 0.7871 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.3262, allocations: 13.72 kB / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3263, allocations: 322.8 kB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.587e-05/0.3264, allocations: 8 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.841e-05/0.3264, allocations: 29.64 kB / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.029e-05/0.3264, allocations: 25.72 kB / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3265, allocations: 0 / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001165/0.3266, allocations: 61.55 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3266, allocations: 15.86 kB / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3266, allocations: 3.938 kB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3266, allocations: 4.062 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-05/0.3267, allocations: 8 kB / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3267, allocations: 0 / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.3268, allocations: 7.906 kB / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.3268, allocations: 0 / 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.767e-05/0.3269, allocations: 114.5 kB / 0.7876 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.3269, allocations: 7.906 kB / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.327, allocations: 20.48 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.327, allocations: 0 / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.327, allocations: 4 kB / 0.7877 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.327, allocations: 0 / 0.7877 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004447/0.3274, allocations: 478.7 kB / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3275, allocations: 3.984 kB / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.434e-05/0.3275, allocations: 12 kB / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3275, allocations: 0 / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.3275, allocations: 0 / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3275, allocations: 7.938 kB / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3276, allocations: 4.062 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.3277, allocations: 73.84 kB / 0.7882 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.914e-05/0.3277, allocations: 96.91 kB / 0.7883 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.3278, allocations: 0 / 0.7883 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.448e-05/0.3278, allocations: 4 kB / 0.7883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.3278, allocations: 32 / 0.7883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.3278, allocations: 4 kB / 0.7883 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001063/0.3279, allocations: 134 kB / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3279, allocations: 0 / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001942/0.3281, 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.0001531/0.3283, allocations: 95.25 kB / 0.7886 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.3284, allocations: 19.94 kB / 0.7886 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3284, allocations: 0 / 0.7886 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.912e-05/0.3284, allocations: 12.12 kB / 0.7886 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.3286, allocations: 22.67 kB / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.329, allocations: 166.2 kB / 0.7888 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.3293, allocations: 0.7002 MB / 0.7894 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.286e-05/0.3294, allocations: 20.56 kB / 0.7895 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.3294, allocations: 11.44 kB / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.3294, allocations: 0 / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of Templates: time 0.00313/0.3325, allocations: 485.5 kB / 0.7899 GB, free: 6.352 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1)