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.00113/0.00113, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.285/1.285, allocations: 205.1 MB / 222.4 MB, free: 4.562 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.668/1.668, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001395/0.001395, allocations: 71.97 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1972, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00246/0.1997, allocations: 1.26 MB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009217/0.2007, allocations: 0.5838 MB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.185e-05/0.2007, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.247e-05/0.2007, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.383e-05/0.2008, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.2013, allocations: 143.4 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.029e-05/0.2013, allocations: 7.938 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.2014, allocations: 8 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.859e-05/0.2014, allocations: 7.922 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.452e-05/0.2015, allocations: 4 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.2015, allocations: 0 / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005035/0.202, allocations: 347.3 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.327e-06/0.202, allocations: 0 / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.202, allocations: 7.938 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.2023, allocations: 136 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2023, allocations: 0 / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2023, allocations: 0 / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2023, allocations: 0 / 0.7859 GB, free: 10.85 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.0003569/0.2027, allocations: 355.4 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2027, allocations: 12.03 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.042e-05/0.2027, allocations: 34.73 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.45e-05/0.2028, allocations: 8.844 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.2029, allocations: 160.4 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.2029, allocations: 8.375 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-06/0.2029, allocations: 4.312 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.876e-05/0.203, allocations: 38.2 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.203, allocations: 3.938 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.203, allocations: 0 / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.203, allocations: 0 / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.585e-05/0.2031, allocations: 7.984 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.2032, allocations: 149.7 kB / 0.7866 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.007e-05/0.2033, allocations: 26.59 kB / 0.7867 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.2033, allocations: 12.86 kB / 0.7867 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.2033, allocations: 8.062 kB / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.2034, allocations: 30.56 kB / 0.7867 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2034, allocations: 3.938 kB / 0.7867 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001232/0.2035, allocations: 41.64 kB / 0.7868 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.2035, allocations: 51.41 kB / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.376e-05/0.2036, allocations: 97.84 kB / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.2036, allocations: 25.7 kB / 0.7869 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.535e-05/0.2036, allocations: 84.39 kB / 0.787 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.2037, allocations: 7.906 kB / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.2037, allocations: 13.72 kB / 0.787 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.2038, allocations: 310.8 kB / 0.7873 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.317e-05/0.2038, allocations: 4 kB / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.377e-06/0.2038, allocations: 3.984 kB / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.665e-05/0.2039, allocations: 20.8 kB / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2039, allocations: 4.062 kB / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.618e-05/0.204, allocations: 33.7 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.204, allocations: 7.938 kB / 0.7874 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.204, allocations: 0 / 0.7874 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.204, allocations: 3.984 kB / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.2042, allocations: 15.98 kB / 0.7874 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003279/0.2045, allocations: 0.5859 MB / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.931e-05/0.2045, allocations: 8.156 kB / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.2045, allocations: 0 / 0.788 GB, free: 8.441 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.013e-05/0.2046, allocations: 112.8 kB / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-06/0.2046, allocations: 3.906 kB / 0.7881 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.266e-05/0.2047, allocations: 44.81 kB / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2047, allocations: 4 kB / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2047, allocations: 0 / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2047, allocations: 4.031 kB / 0.7882 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.403e-05/0.2048, allocations: 157.6 kB / 0.7883 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2049, allocations: 0 / 0.7883 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.898e-05/0.2049, allocations: 13.05 kB / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.2049, allocations: 0 / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.205, allocations: 7.875 kB / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002936/0.2053, allocations: 0.5782 MB / 0.7889 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2053, allocations: 7.938 kB / 0.7889 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.461e-05/0.2053, allocations: 65.25 kB / 0.789 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.2054, allocations: 81.11 kB / 0.789 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-06/0.2054, allocations: 0 / 0.789 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.585e-05/0.2054, allocations: 0 / 0.789 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.2054, allocations: 7.875 kB / 0.7891 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.2054, allocations: 0 / 0.7891 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.866e-05/0.2055, allocations: 87.31 kB / 0.7891 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2055, allocations: 0 / 0.7891 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000197/0.2057, allocations: 19.92 kB / 0.7892 GB, free: 7.133 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003683/0.2061, allocations: 0.5969 MB / 0.7897 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001807/0.2063, allocations: 28.05 kB / 0.7898 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.2063, allocations: 4 kB / 0.7898 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.799e-05/0.2064, allocations: 11.98 kB / 0.7898 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.2065, allocations: 6.375 kB / 0.7898 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.2069, allocations: 142.2 kB / 0.7899 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.2072, allocations: 0.673 MB / 0.7906 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.523e-05/0.2072, allocations: 4 kB / 0.7906 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.2072, allocations: 11.44 kB / 0.7906 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2072, allocations: 0 / 0.7906 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.2247, allocations: 1.316 MB / 0.7919 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.83, allocations: 7.484 kB / 0.7919 GB, free: 4.418 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/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)