Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.001478/0.001478, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001867/0.001867, allocations: 194.2 kB / 16.13 MB, free: 6.668 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.385/1.385, allocations: 205.1 MB / 222 MB, free: 4.727 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.671/1.671, allocations: 292.3 MB / 0.5484 GB, free: 13.7 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.001379/0.001379, allocations: 63.59 kB / 0.6709 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2097, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002338/0.2121, allocations: 1.36 MB / 0.7841 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009633/0.2131, allocations: 0.6123 MB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.513e-05/0.2131, allocations: 0 / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.035e-05/0.2131, allocations: 0 / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.434e-05/0.2132, allocations: 3.938 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.2136, allocations: 127.6 kB / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.293e-05/0.2137, allocations: 15.88 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.2137, allocations: 4 kB / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.49e-05/0.2138, allocations: 15.98 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.123e-05/0.2138, allocations: 7.938 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.2138, allocations: 0 / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004606/0.2143, allocations: 343.3 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.2143, allocations: 7.984 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.2143, allocations: 11.94 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.2146, allocations: 147.9 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2146, allocations: 0 / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.71e-07/0.2146, allocations: 0 / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.2146, allocations: 0 / 0.7854 GB, free: 11.29 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004121/0.215, allocations: 367.4 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2151, allocations: 8.031 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.2151, allocations: 30.75 kB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/0.2152, allocations: 4.938 kB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.736e-05/0.2153, allocations: 160.4 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.2153, allocations: 4.312 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.2153, allocations: 4.375 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.2154, allocations: 50.19 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2154, allocations: 3.938 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.2154, allocations: 4 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2154, allocations: 0 / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.583e-05/0.2155, allocations: 15.98 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000297/0.2158, allocations: 245 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.216, allocations: 50.56 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/0.216, allocations: 20.84 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.2161, allocations: 4 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.2161, allocations: 38.5 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2161, allocations: 0 / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001604/0.2163, allocations: 57.59 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.2163, allocations: 51.41 kB / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.887e-05/0.2164, allocations: 102 kB / 0.7865 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.2164, allocations: 25.7 kB / 0.7866 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.2165, allocations: 96.02 kB / 0.7867 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.095e-05/0.2165, allocations: 11.81 kB / 0.7867 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.2165, allocations: 17.72 kB / 0.7867 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.966e-05/0.2166, allocations: 314.8 kB / 0.787 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.2166, allocations: 8 kB / 0.787 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.881e-05/0.2167, allocations: 21.66 kB / 0.787 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.89e-05/0.2167, allocations: 33.7 kB / 0.787 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2167, allocations: 7.938 kB / 0.7871 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.584e-05/0.2168, allocations: 57.62 kB / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2168, allocations: 8 kB / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2169, allocations: 0 / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.2169, allocations: 0 / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.632e-05/0.2169, allocations: 8 kB / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.2169, allocations: 0 / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.353e-05/0.217, allocations: 0 / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.217, allocations: 4 kB / 0.7871 GB, free: 9.246 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 (5): * Single equations (assignments): 5 * 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 6.863e-05/0.217, allocations: 114.5 kB / 0.7872 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.2171, allocations: 11.91 kB / 0.7872 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.2172, allocations: 61.11 kB / 0.7873 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2172, allocations: 4 kB / 0.7873 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2172, allocations: 4.125 kB / 0.7873 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.2172, allocations: 0 / 0.7873 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.2174, allocations: 161.5 kB / 0.7875 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2174, allocations: 0 / 0.7875 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.2174, allocations: 8 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2174, allocations: 7.938 kB / 0.7875 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.2175, allocations: 0 / 0.7875 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2175, allocations: 3.984 kB / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2175, allocations: 0 / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.2176, allocations: 151.4 kB / 0.7876 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.093e-05/0.2176, allocations: 77.11 kB / 0.7877 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.2176, allocations: 4 kB / 0.7877 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.936e-05/0.2177, allocations: 0 / 0.7877 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.177e-05/0.2177, allocations: 4 kB / 0.7877 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.2177, allocations: 4 kB / 0.7877 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.835e-05/0.2178, allocations: 83.27 kB / 0.7878 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2178, allocations: 3.938 kB / 0.7878 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002427/0.218, allocations: 20 kB / 0.7878 GB, free: 8.43 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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 Backend phase and start with SimCode phase: time 0.0004339/0.2185, allocations: 0.7049 MB / 0.7885 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.506e-05/0.2186, allocations: 24.02 kB / 0.7885 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2186, allocations: 0 / 0.7885 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.149e-05/0.2186, allocations: 12 kB / 0.7885 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.2188, allocations: 6.953 kB / 0.7885 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.2193, allocations: 162 kB / 0.7887 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.2195, allocations: 0.681 MB / 0.7894 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.407e-05/0.2196, allocations: 8.234 kB / 0.7894 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.2196, allocations: 7.438 kB / 0.7894 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2196, allocations: 0 / 0.7894 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01005/0.2296, allocations: 1.257 MB / 0.7906 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.2298, allocations: 224.8 kB / 0.7908 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/1.84, allocations: 2.75 kB / 0.7908 GB, free: 5.367 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)