Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.79/2.79, allocations: 287.5 MB / 302.4 MB, free: 8.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001376/0.001376, allocations: 171.8 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.232/2.232, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008838/0.0008834, allocations: 85.58 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000711/0.0007116, allocations: 12.64 kB / 0.8659 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2628, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001084/0.2639, allocations: 0.5405 MB / 0.979 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001281/0.2641, allocations: 39.78 kB / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.323e-05/0.2641, allocations: 0 / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.2642, allocations: 3.938 kB / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.672e-05/0.2643, allocations: 11.92 kB / 0.979 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.341e-05/0.2643, allocations: 15.98 kB / 0.979 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.2645, allocations: 63.84 kB / 0.9791 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.2646, allocations: 29.56 kB / 0.9791 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.721e-05/0.2647, allocations: 23.8 kB / 0.9792 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.857e-05/0.2647, allocations: 23.8 kB / 0.9792 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.2648, allocations: 4 kB / 0.9792 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/0.2648, allocations: 4 kB / 0.9792 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.2648, allocations: 15.92 kB / 0.9792 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.2649, allocations: 37.64 kB / 0.9792 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.824e-05/0.2649, allocations: 56.09 kB / 0.9793 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.265, allocations: 0 / 0.9793 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.265, allocations: 0 / 0.9793 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.265, allocations: 0 / 0.9793 GB, free: 27.39 MB / 0.6198 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.0003873/0.2654, allocations: 375 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.2654, allocations: 20 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.2655, allocations: 38.56 kB / 0.9797 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.2655, allocations: 11.91 kB / 0.9797 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.2657, allocations: 198.8 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.2658, allocations: 8 kB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.2658, allocations: 8 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.266, allocations: 87.39 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.266, allocations: 0 / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.266, allocations: 4 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.266, allocations: 8 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.2661, allocations: 43.86 kB / 0.9801 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000576/0.2667, allocations: 448.5 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.384e-05/0.2668, allocations: 41.28 kB / 0.9805 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.2668, allocations: 17.84 kB / 0.9805 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.2669, allocations: 0 / 0.9805 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.2669, allocations: 34.55 kB / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.2669, allocations: 0 / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000201/0.2671, allocations: 57.55 kB / 0.9806 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.2672, allocations: 81.36 kB / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.2673, allocations: 172.3 kB / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.2674, allocations: 25.7 kB / 0.9809 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.2674, allocations: 115.8 kB / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.578e-06/0.2674, allocations: 3.984 kB / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.2675, allocations: 4 kB / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.512e-05/0.2675, allocations: 322.8 kB / 0.9813 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.703e-05/0.2676, allocations: 7.984 kB / 0.9813 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.658e-05/0.2676, allocations: 21.72 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.905e-05/0.2677, allocations: 8 kB / 0.9814 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2677, allocations: 3.953 kB / 0.9814 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001187/0.2678, allocations: 69.44 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.2679, allocations: 5.25 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2679, allocations: 0 / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.2679, allocations: 4 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.439e-05/0.268, allocations: 4 kB / 0.9814 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.268, allocations: 4.062 kB / 0.9814 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.2681, allocations: 4 kB / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.2681, allocations: 0 / 0.9815 GB, free: 24.91 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.214e-05/0.2682, allocations: 113.8 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.545e-05/0.2682, allocations: 11.86 kB / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.2683, allocations: 16.55 kB / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.2683, allocations: 0 / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2683, allocations: 4 kB / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.2683, allocations: 0 / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.2687, allocations: 486.6 kB / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2688, allocations: 4 kB / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.824e-05/0.2688, allocations: 0 / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.2688, allocations: 4 kB / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.2688, allocations: 0 / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2689, allocations: 0 / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2689, allocations: 3.938 kB / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.269, allocations: 89.91 kB / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.269, allocations: 85.09 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.2691, allocations: 11.94 kB / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.781e-05/0.2691, allocations: 0 / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.2691, allocations: 3.984 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.2692, allocations: 4 kB / 0.9823 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001015/0.2693, allocations: 124 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2693, allocations: 0 / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002517/0.2695, allocations: 12 kB / 0.9824 GB, free: 23.85 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003106/0.2699, allocations: 0.6248 MB / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.27, allocations: 19.94 kB / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.27, allocations: 0 / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.128e-05/0.27, allocations: 7.938 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.2702, allocations: 8 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009956/0.2712, allocations: 0.584 MB / 0.9836 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.2714, allocations: 0.7043 MB / 0.9843 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.911e-05/0.2715, allocations: 8.422 kB / 0.9843 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.572e-05/0.2715, allocations: 19.44 kB / 0.9843 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of SimCode: time 9.42e-07/0.2715, allocations: 0 / 0.9843 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.2913, allocations: 1.611 MB / 0.9859 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/0.2916, allocations: 196.9 kB / 0.9861 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/2.78, allocations: 0 / 0.9861 GB, free: 20.07 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1)