Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.66/2.66, allocations: 287.5 MB / 302.4 MB, free: 8.414 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.001342/0.001341, allocations: 179 kB / 371 MB, free: 10.89 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.991/1.991, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009227/0.0009223, allocations: 90.34 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004787, allocations: 12.41 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2142, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001415/0.2157, allocations: 0.9704 MB / 0.9794 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.2168, allocations: 0.5386 MB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.054e-05/0.2168, allocations: 0 / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.27e-05/0.2168, allocations: 0 / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.771e-05/0.2169, allocations: 11.91 kB / 0.9799 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.2174, allocations: 113.6 kB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.614e-05/0.2175, allocations: 7.938 kB / 0.9801 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.2176, allocations: 7.984 kB / 0.9801 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.854e-05/0.2176, allocations: 4 kB / 0.9801 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.49e-05/0.2176, allocations: 8 kB / 0.9801 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.2177, allocations: 0 / 0.9801 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006376/0.2183, allocations: 335.3 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.567e-06/0.2183, allocations: 0 / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.2184, allocations: 25.7 kB / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.2186, allocations: 100 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.2186, allocations: 0 / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2186, allocations: 0 / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2186, allocations: 0 / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003636/0.219, allocations: 347.3 kB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2191, allocations: 12.03 kB / 0.9809 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.818e-05/0.2191, allocations: 38.48 kB / 0.9809 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.22e-05/0.2191, allocations: 3.906 kB / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.443e-05/0.2192, allocations: 171 kB / 0.9811 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.2192, allocations: 0 / 0.9811 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.2193, allocations: 0 / 0.9811 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.922e-05/0.2194, allocations: 29.7 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2194, allocations: 0 / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.2194, allocations: 0 / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2194, allocations: 4 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.03e-05/0.2195, allocations: 7.984 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.2196, allocations: 153.6 kB / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.375e-05/0.2197, allocations: 30.53 kB / 0.9813 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.135e-05/0.2197, allocations: 8.859 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.2197, allocations: 4.062 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.2198, allocations: 34.56 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.374e-06/0.2198, allocations: 3.984 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001364/0.2199, allocations: 37.7 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.22, allocations: 55.34 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.111e-05/0.22, allocations: 97.84 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.22, allocations: 25.7 kB / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.864e-05/0.2201, allocations: 80.14 kB / 0.9816 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.2201, allocations: 15.84 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.2201, allocations: 8.188 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.542e-05/0.2202, allocations: 314.8 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.2202, allocations: 0 / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.235e-05/0.2202, allocations: 4 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.977e-05/0.2202, allocations: 0 / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2203, allocations: 3.984 kB / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.084e-05/0.2203, allocations: 41.7 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2204, allocations: 5.406 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2204, allocations: 0 / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2204, allocations: 4.094 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.2206, allocations: 15.92 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002867/0.2209, allocations: 0.5782 MB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.544e-05/0.221, allocations: 3.953 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.221, allocations: 4.031 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.235e-05/0.2211, allocations: 113.9 kB / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/0.2211, allocations: 0 / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.2212, allocations: 52.66 kB / 0.9827 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.2212, allocations: 0 / 0.9827 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2212, allocations: 0 / 0.9827 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2212, allocations: 4 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.159e-05/0.2213, allocations: 149.6 kB / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2213, allocations: 0 / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.2215, allocations: 12.02 kB / 0.9829 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2215, allocations: 0 / 0.9829 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.2215, allocations: 8.031 kB / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002288/0.2217, allocations: 0.586 MB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2217, allocations: 0 / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.603e-05/0.2218, allocations: 65.09 kB / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.017e-05/0.2219, allocations: 81.23 kB / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.2219, allocations: 8 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.007e-05/0.2219, allocations: 0 / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.2219, allocations: 3.953 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.2219, allocations: 0 / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.32e-05/0.222, allocations: 79.28 kB / 0.9837 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.493e-06/0.222, allocations: 0 / 0.9837 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002388/0.2222, allocations: 19.88 kB / 0.9837 GB, free: 22.51 MB / 0.6198 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003242/0.2226, allocations: 0.6086 MB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.2228, allocations: 19.98 kB / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2228, allocations: 0 / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.223, allocations: 15.98 kB / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.2232, allocations: 12.05 kB / 0.9844 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.2236, allocations: 136.8 kB / 0.9845 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.2237, allocations: 0.677 MB / 0.9852 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.085e-05/0.2238, allocations: 3.938 kB / 0.9852 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.2238, allocations: 7.438 kB / 0.9852 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of SimCode: time 7.81e-07/0.2238, allocations: 8 kB / 0.9852 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.2474, allocations: 1.154 MB / 0.9863 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/0.2477, allocations: 243.8 kB / 0.9865 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.522/2.77, allocations: 4 kB / 0.9865 GB, free: 19.68 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)