Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.001038/0.001039, 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.001033/0.001033, allocations: 196.1 kB / 16.64 MB, free: 6.445 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.391/1.391, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.734/1.734, 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.002554/0.002554, allocations: 68.5 kB / 0.6718 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2766, 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_m_flow): time 0.003453/0.28, allocations: 1.256 MB / 0.7849 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.2815, allocations: 0.5877 MB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.2816, allocations: 0 / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.147e-05/0.2817, allocations: 0 / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.337e-05/0.2817, allocations: 3.938 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008702/0.2826, allocations: 143.4 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.52e-05/0.2827, allocations: 4 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.752e-05/0.2827, allocations: 4 kB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.884e-05/0.2827, allocations: 0 / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.099e-05/0.2828, allocations: 11.98 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.2828, allocations: 0 / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006461/0.2835, allocations: 343.3 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.2835, allocations: 7.938 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.2835, allocations: 4 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.2838, allocations: 143.9 kB / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2838, allocations: 0 / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.001e-06/0.2838, allocations: 0 / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2838, 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.0003986/0.2842, allocations: 343.5 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2843, allocations: 12.03 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.227e-05/0.2843, allocations: 34.75 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.421e-05/0.2843, allocations: 4.844 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.2845, allocations: 168.4 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2845, allocations: 4.359 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.2845, allocations: 8.312 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.849e-05/0.2846, allocations: 26.27 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2846, allocations: 3.938 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.2846, allocations: 0 / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2846, allocations: 8 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.466e-05/0.2847, allocations: 3.938 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.2848, allocations: 153.7 kB / 0.7868 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.308e-05/0.2849, allocations: 22.61 kB / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.196e-05/0.2849, allocations: 16.86 kB / 0.7868 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.2849, allocations: 3.984 kB / 0.7869 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.285, allocations: 38.55 kB / 0.7869 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.285, allocations: 0 / 0.7869 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001375/0.2851, allocations: 45.64 kB / 0.7869 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.2852, allocations: 51.41 kB / 0.787 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.821e-05/0.2852, allocations: 93.86 kB / 0.7871 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.2853, allocations: 25.7 kB / 0.7871 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/0.2853, allocations: 88.06 kB / 0.7872 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.2853, allocations: 7.906 kB / 0.7872 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.2854, allocations: 17.97 kB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2855, allocations: 310.8 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.464e-05/0.2855, allocations: 7.938 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.188e-06/0.2855, allocations: 0 / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.226e-05/0.2856, allocations: 12.86 kB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2856, allocations: 0 / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.786e-05/0.2857, allocations: 45.69 kB / 0.7876 GB, free: 9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.2857, allocations: 8.031 kB / 0.7876 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2857, allocations: 4 kB / 0.7876 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2857, allocations: 0 / 0.7876 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.2859, allocations: 15.98 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003884/0.2863, allocations: 0.5821 MB / 0.7882 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.2863, allocations: 0 / 0.7882 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.2863, allocations: 0 / 0.7882 GB, free: 8.367 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 8.647e-05/0.2864, allocations: 121 kB / 0.7883 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-06/0.2865, allocations: 3.906 kB / 0.7883 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.2866, allocations: 48.75 kB / 0.7883 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2866, allocations: 0 / 0.7883 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2866, allocations: 0 / 0.7883 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2866, allocations: 4 kB / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.2867, allocations: 153.6 kB / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2867, allocations: 0 / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-05/0.2868, allocations: 8 kB / 0.7885 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.2868, allocations: 8.016 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.2869, allocations: 4 kB / 0.7885 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003131/0.2872, allocations: 0.5782 MB / 0.7891 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2872, allocations: 3.938 kB / 0.7891 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.097e-05/0.2873, allocations: 65.2 kB / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-05/0.2873, allocations: 81.09 kB / 0.7892 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.2873, allocations: 7.938 kB / 0.7892 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.451e-05/0.2873, allocations: 0 / 0.7892 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.2874, allocations: 3.938 kB / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-06/0.2874, allocations: 0 / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.036e-05/0.2874, allocations: 83.28 kB / 0.7893 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2874, allocations: 3.938 kB / 0.7893 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002004/0.2876, allocations: 11.94 kB / 0.7893 GB, free: 7.062 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.0003928/0.288, allocations: 0.6087 MB / 0.7899 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001765/0.2882, allocations: 23.92 kB / 0.7899 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2882, allocations: 0 / 0.7899 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.866e-05/0.2883, allocations: 20.08 kB / 0.7899 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.2885, allocations: 3.938 kB / 0.7899 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.2889, allocations: 136.7 kB / 0.7901 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.2891, allocations: 0.6729 MB / 0.7907 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.823e-05/0.2892, allocations: 0 / 0.7907 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.2892, allocations: 7.438 kB / 0.7907 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2892, allocations: 8 kB / 0.7908 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.3096, allocations: 1.378 MB / 0.7921 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.38, allocations: 11.56 kB / 0.7921 GB, free: 4.301 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)