Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009198/0.0009198, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001107/0.001107, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.4 MB / 222.1 MB, free: 5.875 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.73/1.73, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0008484/0.0008488, allocations: 13.75 kB / 0.6738 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2246, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001243/0.2259, allocations: 0.9704 MB / 0.7884 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008353/0.2268, allocations: 0.5427 MB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.594e-05/0.2268, allocations: 0 / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.333e-05/0.2268, allocations: 3.938 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.751e-05/0.2269, allocations: 0 / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.2273, allocations: 122.7 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.766e-05/0.2273, allocations: 7.938 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.303e-05/0.2274, allocations: 7.938 kB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.586e-05/0.2274, allocations: 0 / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.832e-05/0.2274, allocations: 4 kB / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.676e-06/0.2274, allocations: 0 / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004731/0.2279, allocations: 339.3 kB / 0.7893 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.963e-06/0.2279, allocations: 0 / 0.7893 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.228, allocations: 29.69 kB / 0.7894 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.2281, allocations: 96.11 kB / 0.7895 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2281, allocations: 4 kB / 0.7895 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.715e-06/0.2281, allocations: 0 / 0.7895 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.2282, allocations: 3.938 kB / 0.7895 GB, free: 9.695 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003295/0.2285, allocations: 355.1 kB / 0.7898 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.2285, allocations: 8.031 kB / 0.7898 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.049e-05/0.2286, allocations: 30.56 kB / 0.7899 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.825e-05/0.2286, allocations: 0 / 0.7899 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.2287, allocations: 167 kB / 0.79 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.2287, allocations: 0 / 0.79 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.142e-06/0.2287, allocations: 4 kB / 0.79 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.515e-05/0.2288, allocations: 37.69 kB / 0.7901 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.2288, allocations: 0 / 0.7901 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.2288, allocations: 0 / 0.7901 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2288, allocations: 0 / 0.7901 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.565e-05/0.2289, allocations: 11.92 kB / 0.7901 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.229, allocations: 153.6 kB / 0.7902 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.565e-05/0.2291, allocations: 22.61 kB / 0.7902 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.681e-05/0.2291, allocations: 12.86 kB / 0.7902 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.2291, allocations: 4.062 kB / 0.7902 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.2292, allocations: 34.56 kB / 0.7903 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2292, allocations: 0 / 0.7903 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001194/0.2293, allocations: 41.62 kB / 0.7903 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.2293, allocations: 51.41 kB / 0.7904 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.623e-05/0.2294, allocations: 102 kB / 0.7905 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.2294, allocations: 25.7 kB / 0.7905 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.66e-05/0.2295, allocations: 80.14 kB / 0.7906 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.2295, allocations: 3.906 kB / 0.7906 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.2295, allocations: 4 kB / 0.7906 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2296, allocations: 314.8 kB / 0.7909 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.2296, allocations: 4 kB / 0.7909 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.297e-06/0.2296, allocations: 4.016 kB / 0.7909 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.625e-05/0.2296, allocations: 4.188 kB / 0.7909 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.2297, allocations: 3.953 kB / 0.7909 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.978e-05/0.2297, allocations: 41.64 kB / 0.7909 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.2297, allocations: 7.938 kB / 0.7909 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.2298, allocations: 3.984 kB / 0.7909 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.2298, allocations: 3.938 kB / 0.7909 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.2299, allocations: 16.02 kB / 0.791 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003442/0.2303, allocations: 0.5822 MB / 0.7915 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.2303, allocations: 0 / 0.7915 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.2303, allocations: 7.984 kB / 0.7915 GB, free: 7.336 MB / 0.6075 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 7.445e-05/0.2304, allocations: 110.5 kB / 0.7916 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-06/0.2304, allocations: 3.906 kB / 0.7916 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.524e-05/0.2305, allocations: 48.75 kB / 0.7917 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2305, allocations: 0 / 0.7917 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2305, allocations: 128 / 0.7917 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2305, allocations: 8 kB / 0.7917 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.398e-05/0.2306, allocations: 149.6 kB / 0.7918 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2306, allocations: 0 / 0.7918 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.254e-05/0.2307, allocations: 11.98 kB / 0.7919 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2307, allocations: 0 / 0.7919 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.2307, allocations: 4 kB / 0.7919 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002735/0.231, allocations: 0.5782 MB / 0.7924 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.231, allocations: 8.047 kB / 0.7924 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.049e-05/0.2311, allocations: 65.09 kB / 0.7925 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.2312, allocations: 77.11 kB / 0.7926 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.2312, allocations: 4 kB / 0.7926 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.41e-05/0.2312, allocations: 0 / 0.7926 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.2312, allocations: 7.938 kB / 0.7926 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.2312, allocations: 0 / 0.7926 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.561e-05/0.2313, allocations: 87.31 kB / 0.7927 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2313, allocations: 0 / 0.7927 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002066/0.2315, allocations: 15.94 kB / 0.7927 GB, free: 6.039 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 (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.0003605/0.2318, allocations: 0.6036 MB / 0.7933 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001394/0.232, allocations: 20.11 kB / 0.7933 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.232, allocations: 0 / 0.7933 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.31e-05/0.2321, allocations: 19.98 kB / 0.7933 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.2322, allocations: 0 / 0.7933 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.2326, allocations: 156.6 kB / 0.7935 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.2328, allocations: 0.6733 MB / 0.7941 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.533e-05/0.2329, allocations: 3.938 kB / 0.7941 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.2329, allocations: 11.44 kB / 0.7941 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2329, allocations: 0 / 0.7941 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01125/0.2442, allocations: 1.135 MB / 0.7952 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.2444, allocations: 263.1 kB / 0.7955 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/1.934, allocations: 4 kB / 0.7955 GB, free: 3.211 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) Environment - environmentSimulation: