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.001139/0.001139, allocations: 105.4 kB / 15.7 MB, free: 24 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.001117/0.001117, allocations: 199.2 kB / 16.64 MB, free: 6.453 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.372/1.372, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.704/1.704, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001485/0.001485, allocations: 67.72 kB / 0.6718 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2297, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002406/0.2322, allocations: 1.255 MB / 0.7849 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.2333, allocations: 0.5915 MB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.817e-05/0.2334, allocations: 3.938 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.2334, allocations: 0 / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.034e-05/0.2334, allocations: 0 / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.234, allocations: 139.4 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.825e-05/0.234, allocations: 19.91 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.2341, allocations: 0 / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.015e-05/0.2341, allocations: 8 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.509e-05/0.2342, allocations: 4 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.2342, allocations: 0 / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005146/0.2347, allocations: 347.3 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.2347, allocations: 3.938 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.785e-05/0.2347, allocations: 0 / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.235, allocations: 143.9 kB / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.235, allocations: 0 / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2351, allocations: 0 / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2351, allocations: 0 / 0.7861 GB, free: 10.76 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.0004177/0.2355, allocations: 355.4 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.2355, allocations: 8.031 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.046e-05/0.2356, allocations: 34.75 kB / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.2356, allocations: 4.844 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.2358, allocations: 164.4 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.2358, allocations: 384 / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.2358, allocations: 384 / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.424e-05/0.2359, allocations: 34.25 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2359, allocations: 7.875 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.2359, allocations: 0 / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2359, allocations: 4 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.714e-05/0.236, allocations: 8 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.2361, allocations: 141.7 kB / 0.7868 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.128e-05/0.2362, allocations: 30.59 kB / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.196e-05/0.2362, allocations: 8.859 kB / 0.7868 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.2362, allocations: 4.062 kB / 0.7868 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.2363, allocations: 34.56 kB / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.224e-06/0.2363, allocations: 0 / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001451/0.2364, allocations: 53.55 kB / 0.7869 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.2365, allocations: 51.41 kB / 0.787 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.71e-05/0.2365, allocations: 93.86 kB / 0.7871 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.2366, allocations: 25.7 kB / 0.7871 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.2366, allocations: 88.08 kB / 0.7872 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.2366, allocations: 8.156 kB / 0.7872 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.2367, allocations: 17.66 kB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2368, allocations: 314.8 kB / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.582e-05/0.2368, allocations: 8 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.125e-06/0.2368, allocations: 0 / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.993e-05/0.2369, allocations: 16.8 kB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2369, allocations: 0 / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.146e-05/0.2369, allocations: 37.7 kB / 0.7876 GB, free: 9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.237, allocations: 12.03 kB / 0.7876 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.237, allocations: 0 / 0.7876 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.237, allocations: 3.984 kB / 0.7876 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.2371, allocations: 12 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004316/0.2376, allocations: 0.5899 MB / 0.7882 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.2376, allocations: 0 / 0.7882 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.2376, allocations: 0 / 0.7882 GB, free: 8.359 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 0.0001055/0.2377, allocations: 120.9 kB / 0.7883 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.2378, allocations: 7.906 kB / 0.7883 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.838e-05/0.2379, allocations: 40.83 kB / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.2379, allocations: 3.984 kB / 0.7883 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.2379, allocations: 0 / 0.7883 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.2379, allocations: 0 / 0.7883 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.238, allocations: 157.6 kB / 0.7885 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.238, allocations: 0 / 0.7885 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.725e-05/0.2381, allocations: 16.02 kB / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2381, allocations: 0 / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.2381, allocations: 0 / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003735/0.2385, allocations: 0.5821 MB / 0.7891 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2385, allocations: 3.938 kB / 0.7891 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.343e-05/0.2386, allocations: 69.25 kB / 0.7891 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.2386, allocations: 77.11 kB / 0.7892 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.2387, allocations: 0 / 0.7892 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.538e-05/0.2387, allocations: 4 kB / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.2387, allocations: 7.875 kB / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.2387, allocations: 7.984 kB / 0.7892 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.908e-05/0.2387, allocations: 75.28 kB / 0.7893 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2387, allocations: 0 / 0.7893 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002295/0.239, allocations: 15.94 kB / 0.7893 GB, free: 7.055 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.0004359/0.2394, allocations: 0.6048 MB / 0.7899 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001656/0.2396, allocations: 27.92 kB / 0.7899 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.2396, allocations: 3.938 kB / 0.7899 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.656e-05/0.2397, allocations: 16.08 kB / 0.7899 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.2399, allocations: 10.53 kB / 0.79 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005812/0.2405, allocations: 136.7 kB / 0.7901 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.2408, allocations: 0.6729 MB / 0.7907 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.197e-05/0.2409, allocations: 0 / 0.7907 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.2409, allocations: 11.44 kB / 0.7908 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2409, allocations: 4.062 kB / 0.7908 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02041/0.2613, allocations: 1.339 MB / 0.7921 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.88, allocations: 24 kB / 0.7921 GB, free: 4.305 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)