Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.836/1.836, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001408/0.001407, allocations: 185 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.4 MB / 0.6366 GB, free: 8.637 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008385/0.0008384, allocations: 88.64 kB / 0.7509 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.000388, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2676, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7212/0.9889, allocations: 138.5 MB / 1.124 GB, free: 35.89 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/0.9891, allocations: 69.97 kB / 1.124 GB, free: 35.83 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002459/0.9916, allocations: 1.15 MB / 1.125 GB, free: 34.98 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9917, allocations: 0.5938 kB / 1.125 GB, free: 34.98 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.9917, allocations: 0.5312 kB / 1.125 GB, free: 34.98 MB / 0.7292 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.0002912/0.992, allocations: 389.6 kB / 1.125 GB, free: 34.56 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.992, allocations: 12.02 kB / 1.125 GB, free: 34.55 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.229e-05/0.9921, allocations: 38.56 kB / 1.125 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.9921, allocations: 13.84 kB / 1.125 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.9922, allocations: 187.3 kB / 1.126 GB, free: 34.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.9922, allocations: 15.12 kB / 1.126 GB, free: 34.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.9922, allocations: 4 kB / 1.126 GB, free: 34.26 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.9924, allocations: 91.56 kB / 1.126 GB, free: 34.17 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.9924, allocations: 2.359 kB / 1.126 GB, free: 34.17 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.9925, allocations: 8 kB / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.9925, allocations: 0 / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.426e-05/0.9925, allocations: 39.45 kB / 1.126 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.993, allocations: 459.4 kB / 1.126 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.814e-05/0.9931, allocations: 46.19 kB / 1.126 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.9931, allocations: 0 / 1.126 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.9931, allocations: 30.56 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.9931, allocations: 0 / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001627/0.9933, allocations: 61.22 kB / 1.126 GB, free: 33.51 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.9933, allocations: 81.92 kB / 1.126 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.9934, allocations: 155.7 kB / 1.126 GB, free: 33.26 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.223e-06/0.9934, allocations: 25.7 kB / 1.127 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.9935, allocations: 107.4 kB / 1.127 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.307e-06/0.9935, allocations: 7.844 kB / 1.127 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.9935, allocations: 7.766 kB / 1.127 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.909e-05/0.9936, allocations: 325.3 kB / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.9936, allocations: 8 kB / 1.127 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.069e-05/0.9936, allocations: 25.23 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.287e-05/0.9937, allocations: 8 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.9937, allocations: 4 kB / 1.127 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.724e-05/0.9937, allocations: 65.02 kB / 1.127 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.9938, allocations: 8.562 kB / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.9938, allocations: 0 / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.9938, allocations: 1.016 kB / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.9939, allocations: 12.06 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.9939, allocations: 0 / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.9939, allocations: 3.906 kB / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.9939, allocations: 5.062 kB / 1.127 GB, free: 32.65 MB / 0.7292 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 5.231e-05/0.994, allocations: 113.8 kB / 1.127 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.994, allocations: 11.86 kB / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.9941, allocations: 15.89 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.9941, allocations: 0.6094 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.9941, allocations: 0 / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.9941, allocations: 5.875 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.9944, allocations: 487.1 kB / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9944, allocations: 0 / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/0.9944, allocations: 4 kB / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.9944, allocations: 0 / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.9944, allocations: 0 / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.9944, allocations: 0.5625 kB / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.9945, allocations: 4.547 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.874e-05/0.9945, allocations: 103.6 kB / 1.128 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.9946, allocations: 88.44 kB / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.9946, allocations: 0.75 kB / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.492e-05/0.9946, allocations: 0.5625 kB / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.196e-05/0.9946, allocations: 8.031 kB / 1.128 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.9946, allocations: 0 / 1.128 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.805e-05/0.9947, allocations: 131.3 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.022e-06/0.9947, allocations: 0 / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001894/0.9949, allocations: 12.59 kB / 1.128 GB, free: 31.61 MB / 0.7292 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.0002575/0.9952, allocations: 0.7033 MB / 1.129 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.277e-05/0.9953, allocations: 16 kB / 1.129 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9953, allocations: 0 / 1.129 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-05/0.9953, allocations: 7.938 kB / 1.129 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001116/0.9954, allocations: 8.938 kB / 1.129 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007315/0.9961, allocations: 0.7527 MB / 1.129 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.9963, allocations: 0.6984 MB / 1.13 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.47e-05/0.9963, allocations: 8.328 kB / 1.13 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.9964, allocations: 19.44 kB / 1.13 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of SimCode: time 3.01e-07/0.9964, allocations: 0 / 1.13 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01191/1.008, allocations: 1.577 MB / 1.132 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/1.009, allocations: 187.8 kB / 1.132 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/2.537, allocations: 4 kB / 1.132 GB, free: 28.24 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1)