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.587/1.587, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001194/0.001195, allocations: 177.8 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.254/2.254, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001241/0.001241, allocations: 88.11 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003923, allocations: 10.22 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2976, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001204/0.2989, allocations: 0.5562 MB / 0.9007 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001434/0.2991, allocations: 49.09 kB / 0.9007 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.2991, allocations: 0 / 0.9007 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.2992, allocations: 7.922 kB / 0.9008 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.2993, allocations: 8 kB / 0.9008 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.819e-05/0.2994, allocations: 15.98 kB / 0.9008 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.749e-05/0.2995, allocations: 39.89 kB / 0.9008 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.2996, allocations: 37.56 kB / 0.9009 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.256e-05/0.2997, allocations: 11.88 kB / 0.9009 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.158e-05/0.2998, allocations: 27.84 kB / 0.9009 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.2998, allocations: 3.938 kB / 0.9009 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-06/0.2998, allocations: 0 / 0.9009 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.2999, allocations: 15.98 kB / 0.9009 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.2999, allocations: 37.64 kB / 0.9009 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.867e-05/0.3, allocations: 55.86 kB / 0.901 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3, allocations: 0 / 0.901 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.657e-06/0.3, allocations: 0 / 0.901 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.3, allocations: 0 / 0.901 GB, free: 62.97 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.0004569/0.3005, allocations: 371.4 kB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.3006, allocations: 8.031 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.3006, allocations: 46.48 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.3007, allocations: 15.81 kB / 0.9014 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.3009, allocations: 194.8 kB / 0.9016 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3009, allocations: 4 kB / 0.9016 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.3009, allocations: 12 kB / 0.9016 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.3011, allocations: 97.88 kB / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3011, allocations: 0 / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3012, allocations: 4 kB / 0.9017 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3012, allocations: 4 kB / 0.9017 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.3013, allocations: 43.97 kB / 0.9018 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005685/0.3019, allocations: 444.6 kB / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.714e-05/0.3019, allocations: 37.16 kB / 0.9022 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.302, allocations: 0 / 0.9022 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.302, allocations: 42.72 kB / 0.9023 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.302, allocations: 0 / 0.9023 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002148/0.3022, allocations: 57.5 kB / 0.9023 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.3023, allocations: 81.05 kB / 0.9024 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.3024, allocations: 170.4 kB / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.395e-06/0.3025, allocations: 29.7 kB / 0.9026 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/0.3025, allocations: 108 kB / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.115e-05/0.3025, allocations: 7.906 kB / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.3026, allocations: 0 / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.323e-05/0.3026, allocations: 322.8 kB / 0.903 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/0.3027, allocations: 4 kB / 0.903 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.622e-05/0.3027, allocations: 17.72 kB / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.152e-05/0.3027, allocations: 15.98 kB / 0.903 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3027, allocations: 4 kB / 0.903 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.8e-05/0.3028, allocations: 61.5 kB / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3029, allocations: 8 kB / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3029, allocations: 0 / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3029, allocations: 4 kB / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.562e-05/0.303, allocations: 7.984 kB / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.303, allocations: 4 kB / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.3031, allocations: 7.844 kB / 0.9031 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.3031, allocations: 4.062 kB / 0.9031 GB, free: 60.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.912e-05/0.3032, allocations: 117.8 kB / 0.9032 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.3032, allocations: 15.86 kB / 0.9033 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.3033, allocations: 8.562 kB / 0.9033 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3033, allocations: 7.984 kB / 0.9033 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3033, allocations: 0 / 0.9033 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3033, allocations: 3.938 kB / 0.9033 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000388/0.3037, allocations: 474.8 kB / 0.9037 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3037, allocations: 0 / 0.9037 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.925e-05/0.3038, allocations: 7.938 kB / 0.9037 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3038, allocations: 0 / 0.9037 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.3038, allocations: 4 kB / 0.9037 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3038, allocations: 3.984 kB / 0.9038 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3038, allocations: 0 / 0.9038 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.3039, allocations: 95.64 kB / 0.9038 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.304, allocations: 96.91 kB / 0.9039 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.304, allocations: 0 / 0.9039 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.295e-05/0.3041, allocations: 0 / 0.9039 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.3041, allocations: 4 kB / 0.9039 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.3041, allocations: 0 / 0.9039 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.834e-05/0.3042, allocations: 128.8 kB / 0.9041 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/0.3042, allocations: 4.031 kB / 0.9041 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002906/0.3045, allocations: 8 kB / 0.9041 GB, free: 59.45 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 (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.0003198/0.3048, allocations: 0.6954 MB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.557e-05/0.3049, allocations: 23.92 kB / 0.9048 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3049, allocations: 3.938 kB / 0.9048 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.589e-05/0.305, allocations: 8 kB / 0.9048 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.3051, allocations: 13.83 kB / 0.9048 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.3061, allocations: 0.7417 MB / 0.9055 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.3063, allocations: 0.7004 MB / 0.9062 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.53e-05/0.3064, allocations: 8.422 kB / 0.9062 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.535e-05/0.3064, allocations: 23.44 kB / 0.9062 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of SimCode: time 1.223e-06/0.3064, allocations: 0 / 0.9062 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.3211, allocations: 1.582 MB / 0.9078 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/0.3214, allocations: 194.6 kB / 0.908 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/1.806, allocations: 0 / 0.908 GB, free: 55.45 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)