Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 190.2 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.1 MB / 222.1 MB, free: 4.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 292.3 MB / 0.5486 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 69.45 kB / 0.6711 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.246, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.00189/0.2479, allocations: 0.9169 MB / 0.7839 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 8.33e-05/0.248, allocations: 43.78 kB / 0.7839 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.386e-05/0.2481, allocations: 0 / 0.7839 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.73e-05/0.2481, allocations: 7.922 kB / 0.7839 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.456e-05/0.2482, allocations: 11.94 kB / 0.7839 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.191e-05/0.2483, allocations: 15.98 kB / 0.7839 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.309e-05/0.2484, allocations: 67.8 kB / 0.784 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.2485, allocations: 41.38 kB / 0.784 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.166e-05/0.2486, allocations: 23.88 kB / 0.7841 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.37e-05/0.2486, allocations: 35.78 kB / 0.7841 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.2487, allocations: 4 kB / 0.7841 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-06/0.2487, allocations: 8 kB / 0.7841 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.2487, allocations: 19.92 kB / 0.7841 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.2487, allocations: 39.67 kB / 0.7842 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.2489, allocations: 83.91 kB / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2489, allocations: 0 / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2489, allocations: 0 / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.2489, allocations: 0 / 0.7843 GB, free: 12.5 MB / 0.6075 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.0003885/0.2493, allocations: 391.2 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2493, allocations: 12.03 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.2494, allocations: 38.73 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.2494, allocations: 12.75 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.2496, allocations: 192.2 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.2496, allocations: 8.375 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.2496, allocations: 4.375 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.2498, allocations: 110.5 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2498, allocations: 3.938 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.2498, allocations: 3.984 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.2498, allocations: 4 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.488e-05/0.2499, allocations: 39.92 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.2504, allocations: 445.7 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.923e-05/0.2504, allocations: 45.12 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.464e-05/0.2505, allocations: 17.84 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.663e-06/0.2505, allocations: 0 / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.2505, allocations: 42.5 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.2505, allocations: 0 / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001567/0.2507, allocations: 57.47 kB / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.2507, allocations: 81.11 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.2509, allocations: 175.2 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.2509, allocations: 25.7 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.251, allocations: 108 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.314e-06/0.251, allocations: 4.156 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.251, allocations: 25.7 kB / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2511, allocations: 318.8 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.895e-05/0.2512, allocations: 7.984 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.263e-05/0.2512, allocations: 17.72 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.576e-05/0.2512, allocations: 33.66 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2512, allocations: 4 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.607e-05/0.2513, allocations: 65.53 kB / 0.7864 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.2514, allocations: 7.938 kB / 0.7865 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2514, allocations: 0 / 0.7865 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.2514, allocations: 0 / 0.7865 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.981e-05/0.2514, allocations: 8 kB / 0.7865 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.2514, allocations: 0 / 0.7865 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.003e-05/0.2515, allocations: 3.906 kB / 0.7865 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.2515, allocations: 4 kB / 0.7865 GB, free: 9.957 MB / 0.6075 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 8.302e-05/0.2516, allocations: 121.8 kB / 0.7866 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.2516, allocations: 15.83 kB / 0.7866 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.2517, allocations: 12.56 kB / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.2517, allocations: 0 / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.2517, allocations: 0 / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.2517, allocations: 0 / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.2521, allocations: 486.7 kB / 0.7871 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2521, allocations: 4.062 kB / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.367e-05/0.2521, allocations: 4 kB / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2521, allocations: 0 / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.2521, allocations: 3.938 kB / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2521, allocations: 0 / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2521, allocations: 7.938 kB / 0.7871 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.755e-05/0.2522, allocations: 85.83 kB / 0.7872 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.2523, allocations: 88.92 kB / 0.7873 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.2523, allocations: 3.984 kB / 0.7873 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.282e-05/0.2523, allocations: 0 / 0.7873 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/0.2524, allocations: 8 kB / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.2524, allocations: 0 / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.631e-05/0.2525, allocations: 124 kB / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2525, allocations: 3.938 kB / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001761/0.2527, allocations: 8 kB / 0.7874 GB, free: 8.887 MB / 0.6075 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.0003895/0.253, allocations: 0.621 MB / 0.788 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.346e-05/0.2531, allocations: 23.94 kB / 0.788 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.2532, allocations: 0 / 0.788 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.515e-05/0.2532, allocations: 8.156 kB / 0.788 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.2533, allocations: 11.98 kB / 0.7881 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.2546, allocations: 1.391 MB / 0.7894 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.2549, allocations: 0.6963 MB / 0.7901 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.732e-05/0.255, allocations: 8.422 kB / 0.7901 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.06e-05/0.255, allocations: 19.44 kB / 0.7901 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.255, allocations: 4 kB / 0.7901 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01082/0.2659, allocations: 1.582 MB / 0.7917 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/0.2661, allocations: 206.3 kB / 0.7919 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/1.973, allocations: 0 / 0.7919 GB, free: 4.238 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)