Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_cfm,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_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 MB, free: 10.97 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.001333/0.001333, allocations: 176.6 kB / 326.6 MB, free: 2.219 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.967/1.967, allocations: 205.4 MB / 0.5776 GB, free: 20.5 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.0007538/0.000754, allocations: 92.06 kB / 0.6822 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004324, allocations: 10.94 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2323, allocations: 106.3 MB / 0.9003 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.0009021/0.2333, allocations: 0.5539 MB / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001304/0.2334, allocations: 43.78 kB / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.003e-05/0.2335, allocations: 0 / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.2335, allocations: 7.922 kB / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.054e-05/0.2336, allocations: 7.938 kB / 0.9009 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.043e-05/0.2336, allocations: 11.98 kB / 0.9009 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.386e-05/0.2337, allocations: 59.84 kB / 0.901 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.2338, allocations: 37.56 kB / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.929e-05/0.2339, allocations: 19.86 kB / 0.901 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.2339, allocations: 23.8 kB / 0.9011 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.234, allocations: 4 kB / 0.9011 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-06/0.234, allocations: 0 / 0.9011 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.234, allocations: 11.94 kB / 0.9011 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.234, allocations: 37.64 kB / 0.9011 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.398e-05/0.2341, allocations: 55.86 kB / 0.9012 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2341, allocations: 0 / 0.9012 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2341, allocations: 4 kB / 0.9012 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.247e-06/0.2341, allocations: 0 / 0.9012 GB, free: 63.3 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.0003173/0.2345, allocations: 371.4 kB / 0.9015 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2345, allocations: 8.031 kB / 0.9015 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.084e-05/0.2345, allocations: 42.5 kB / 0.9016 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.2346, allocations: 11.81 kB / 0.9016 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.2348, allocations: 202.8 kB / 0.9018 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.2348, allocations: 8 kB / 0.9018 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.2348, allocations: 8 kB / 0.9018 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.2349, allocations: 91.3 kB / 0.9019 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.2349, allocations: 0 / 0.9019 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.235, allocations: 7.984 kB / 0.9019 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.235, allocations: 0 / 0.9019 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.374e-05/0.2351, allocations: 39.92 kB / 0.9019 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.2355, allocations: 452.5 kB / 0.9024 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.416e-05/0.2356, allocations: 41.34 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.2356, allocations: 21.78 kB / 0.9024 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.2357, allocations: 3.984 kB / 0.9024 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.2357, allocations: 30.56 kB / 0.9024 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.2357, allocations: 0 / 0.9024 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001658/0.2359, allocations: 65.39 kB / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.2359, allocations: 81.09 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.236, allocations: 170.4 kB / 0.9027 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.236, allocations: 25.7 kB / 0.9028 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.2361, allocations: 108 kB / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.033e-06/0.2361, allocations: 7.844 kB / 0.9029 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.2361, allocations: 4 kB / 0.9029 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.449e-05/0.2362, allocations: 322.8 kB / 0.9032 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.2362, allocations: 0 / 0.9032 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.117e-05/0.2362, allocations: 21.72 kB / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.508e-05/0.2363, allocations: 12 kB / 0.9032 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2363, allocations: 3.953 kB / 0.9032 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.393e-05/0.2364, allocations: 65.53 kB / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.2364, allocations: 4 kB / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2364, allocations: 0 / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2364, allocations: 4 kB / 0.9033 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.2365, allocations: 4 kB / 0.9033 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2365, allocations: 0 / 0.9033 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.746e-05/0.2365, allocations: 15.83 kB / 0.9033 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.2365, allocations: 8 kB / 0.9033 GB, free: 60.82 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 6.236e-05/0.2366, allocations: 113.8 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.2367, allocations: 11.86 kB / 0.9034 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.2367, allocations: 12.56 kB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2367, allocations: 0 / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2367, allocations: 4 kB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.2367, allocations: 4 kB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000337/0.2371, allocations: 478.8 kB / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2371, allocations: 0 / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.588e-05/0.2371, allocations: 4 kB / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2371, allocations: 0 / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.2371, allocations: 4 kB / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.2371, allocations: 0 / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.2371, allocations: 3.938 kB / 0.9039 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.832e-05/0.2372, allocations: 85.91 kB / 0.904 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/0.2373, allocations: 92.91 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.2373, allocations: 4 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.585e-05/0.2373, allocations: 4 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.2374, allocations: 0 / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.2374, allocations: 0 / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.364e-05/0.2374, allocations: 124.9 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2374, allocations: 0 / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001919/0.2376, allocations: 12.03 kB / 0.9042 GB, free: 59.78 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.0003862/0.238, allocations: 0.6209 MB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.619e-05/0.2381, allocations: 24.03 kB / 0.9049 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2382, allocations: 0 / 0.9049 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.538e-05/0.2382, allocations: 11.92 kB / 0.9049 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.2384, allocations: 8 kB / 0.9049 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008054/0.2392, allocations: 0.6013 MB / 0.9055 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.2393, allocations: 0.6926 MB / 0.9062 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.684e-05/0.2394, allocations: 12.42 kB / 0.9062 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.2394, allocations: 19.44 kB / 0.9062 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2395, allocations: 0 / 0.9062 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01249/0.2519, allocations: 1.605 MB / 0.9078 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/0.2521, allocations: 206.4 kB / 0.9079 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/1.723, allocations: 0 / 0.9079 GB, free: 56.01 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1)