Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.47/1.47, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001147, allocations: 175.2 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.981/1.981, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008971/0.0008971, allocations: 102.2 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004267/0.0004268, allocations: 11.28 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2897, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001444/0.2912, allocations: 0.5847 MB / 0.9015 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001286/0.2914, allocations: 39.78 kB / 0.9015 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.553e-05/0.2914, allocations: 4 kB / 0.9015 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.541e-05/0.2915, allocations: 3.938 kB / 0.9015 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.2916, allocations: 7.922 kB / 0.9015 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.972e-05/0.2916, allocations: 19.98 kB / 0.9016 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.2918, allocations: 63.78 kB / 0.9016 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.292, allocations: 41.38 kB / 0.9017 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.472e-05/0.292, allocations: 19.88 kB / 0.9017 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.801e-05/0.2921, allocations: 23.8 kB / 0.9017 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.2921, allocations: 11.94 kB / 0.9017 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.385e-05/0.2922, allocations: 0 / 0.9017 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.2922, allocations: 11.92 kB / 0.9017 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.822e-05/0.2923, allocations: 53.45 kB / 0.9018 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.2924, allocations: 75.67 kB / 0.9019 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2924, allocations: 0 / 0.9019 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2924, allocations: 0 / 0.9019 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.2924, allocations: 0 / 0.9019 GB, free: 62.45 MB / 0.6042 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.0004349/0.2929, allocations: 367.5 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.2929, allocations: 15.97 kB / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.122e-05/0.293, allocations: 38.75 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.293, allocations: 12.75 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.2932, allocations: 204.1 kB / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.2933, allocations: 4.375 kB / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.2933, allocations: 8.375 kB / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.2935, allocations: 91.95 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2935, allocations: 3.938 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.2935, allocations: 4 kB / 0.9026 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2935, allocations: 4 kB / 0.9026 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.46e-05/0.2936, allocations: 43.91 kB / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.2942, allocations: 440.5 kB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.392e-05/0.2942, allocations: 53.27 kB / 0.9031 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.2943, allocations: 13.84 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.2943, allocations: 0 / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.2943, allocations: 30.56 kB / 0.9031 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.2943, allocations: 4 kB / 0.9031 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001832/0.2945, allocations: 61.7 kB / 0.9032 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.2946, allocations: 85.09 kB / 0.9033 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.2947, allocations: 166.2 kB / 0.9034 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.2947, allocations: 25.7 kB / 0.9035 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.2948, allocations: 107.9 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.304e-05/0.2948, allocations: 7.906 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.2948, allocations: 3.938 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.2949, allocations: 326.8 kB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.2949, allocations: 8.031 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.417e-05/0.295, allocations: 17.72 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.781e-05/0.295, allocations: 29.72 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.295, allocations: 0 / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.96e-05/0.2951, allocations: 61.53 kB / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2951, allocations: 7.938 kB / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2952, allocations: 4.062 kB / 0.904 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.2952, allocations: 0 / 0.904 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.95e-05/0.2953, allocations: 12 kB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.2953, allocations: 3.984 kB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.499e-05/0.2953, allocations: 7.938 kB / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.2953, allocations: 4 kB / 0.904 GB, free: 59.95 MB / 0.6042 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 9.655e-05/0.2954, allocations: 113.8 kB / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.2955, allocations: 15.75 kB / 0.9042 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.2955, allocations: 12.56 kB / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2955, allocations: 7.938 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.2956, allocations: 3.938 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2956, allocations: 3.984 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.2959, allocations: 470.8 kB / 0.9046 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2959, allocations: 0 / 0.9046 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.272e-05/0.2959, allocations: 7.938 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2959, allocations: 0 / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.2959, allocations: 64 / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.296, allocations: 8 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.296, allocations: 0 / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.313e-05/0.2961, allocations: 81.92 kB / 0.9047 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/0.2961, allocations: 92.98 kB / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.2961, allocations: 0 / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.566e-05/0.2962, allocations: 4 kB / 0.9048 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.2962, allocations: 4.031 kB / 0.9048 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.2962, allocations: 4 kB / 0.9048 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001025/0.2963, allocations: 128.8 kB / 0.9049 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2963, allocations: 0 / 0.9049 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001779/0.2965, allocations: 8 kB / 0.905 GB, free: 58.89 MB / 0.6042 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.0003836/0.2969, allocations: 0.6248 MB / 0.9056 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.996e-05/0.297, allocations: 27.92 kB / 0.9056 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.297, allocations: 0 / 0.9056 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.166e-05/0.297, allocations: 4 kB / 0.9056 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.2972, allocations: 15.88 kB / 0.9056 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.2982, allocations: 1.393 MB / 0.907 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.2984, allocations: 0.6965 MB / 0.9076 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.536e-05/0.2985, allocations: 8.422 kB / 0.9077 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.2985, allocations: 23.44 kB / 0.9077 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2985, allocations: 0 / 0.9077 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01275/0.3113, allocations: 1.474 MB / 0.9091 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/0.3115, allocations: 217.7 kB / 0.9093 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.242, allocations: 0 / 0.9093 GB, free: 54.38 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1)