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.001158/0.001158, 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.001207/0.001207, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.462/1.462, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.723/1.723, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001517/0.001517, allocations: 77.41 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2359, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.003053/0.239, allocations: 1.248 MB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.2401, allocations: 0.5916 MB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.2401, allocations: 0 / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.68e-05/0.2401, allocations: 0 / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.407e-05/0.2402, allocations: 0 / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005417/0.2408, allocations: 146.8 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.674e-05/0.2408, allocations: 11.94 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.2409, allocations: 7.984 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.912e-05/0.2409, allocations: 3.938 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.661e-05/0.2409, allocations: 7.984 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.241, allocations: 0 / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005252/0.2415, allocations: 343.3 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.2415, allocations: 3.984 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.2415, allocations: 3.938 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.2418, allocations: 144 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2418, allocations: 0 / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2418, allocations: 0 / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.2418, allocations: 0 / 0.7859 GB, free: 10.88 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.0004215/0.2423, allocations: 351.4 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2423, allocations: 12.03 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.022e-05/0.2424, allocations: 30.75 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.2424, allocations: 4.844 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.2425, allocations: 164.4 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.2425, allocations: 8.312 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.2426, allocations: 4.375 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.907e-05/0.2426, allocations: 30.27 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2427, allocations: 7.938 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.2427, allocations: 3.938 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2427, allocations: 0 / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.819e-05/0.2427, allocations: 4 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.2429, allocations: 149.7 kB / 0.7867 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.967e-05/0.2429, allocations: 26.61 kB / 0.7867 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.417e-05/0.243, allocations: 8.859 kB / 0.7867 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.243, allocations: 0 / 0.7867 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.243, allocations: 42.61 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.243, allocations: 0 / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001484/0.2432, allocations: 45.56 kB / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.2432, allocations: 51.53 kB / 0.7868 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.2434, allocations: 101.9 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.2434, allocations: 25.7 kB / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.358e-05/0.2434, allocations: 84.12 kB / 0.787 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.2435, allocations: 3.906 kB / 0.787 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.2435, allocations: 17.72 kB / 0.787 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.014e-05/0.2436, allocations: 310.8 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/0.2436, allocations: 4 kB / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.814e-06/0.2436, allocations: 4.125 kB / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.365e-05/0.2437, allocations: 16.8 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2437, allocations: 4 kB / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.06e-05/0.2437, allocations: 37.69 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2438, allocations: 7.938 kB / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2438, allocations: 0 / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2438, allocations: 0 / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.244, allocations: 15.98 kB / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003407/0.2443, allocations: 0.5861 MB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.806e-05/0.2443, allocations: 3.938 kB / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.2443, allocations: 8.031 kB / 0.788 GB, free: 8.473 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 6.62e-05/0.2444, allocations: 112.6 kB / 0.7881 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/0.2444, allocations: 3.906 kB / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.2445, allocations: 48.91 kB / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2446, allocations: 0 / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2446, allocations: 4 kB / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.2446, allocations: 0 / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.409e-05/0.2447, allocations: 149.6 kB / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2447, allocations: 0 / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-05/0.2448, allocations: 13.05 kB / 0.7883 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2448, allocations: 3.938 kB / 0.7883 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.2448, allocations: 8 kB / 0.7883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000293/0.2451, allocations: 0.586 MB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2451, allocations: 3.938 kB / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.004e-05/0.2452, allocations: 61.16 kB / 0.789 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.2452, allocations: 77.11 kB / 0.789 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.2452, allocations: 4 kB / 0.789 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.488e-05/0.2453, allocations: 0 / 0.789 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.2453, allocations: 8.062 kB / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.2453, allocations: 3.938 kB / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.359e-05/0.2453, allocations: 79.28 kB / 0.7891 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2453, allocations: 0 / 0.7891 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002108/0.2456, allocations: 11.94 kB / 0.7891 GB, free: 7.18 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.0004292/0.246, allocations: 0.6165 MB / 0.7897 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.2462, allocations: 15.98 kB / 0.7898 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2462, allocations: 3.938 kB / 0.7898 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.815e-05/0.2463, allocations: 19.98 kB / 0.7898 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.2464, allocations: 3.938 kB / 0.7898 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004871/0.2469, allocations: 139.7 kB / 0.7899 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.2472, allocations: 0.6729 MB / 0.7906 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.639e-05/0.2472, allocations: 0 / 0.7906 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.2472, allocations: 7.438 kB / 0.7906 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.2473, allocations: 4 kB / 0.7906 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.2665, allocations: 1.336 MB / 0.7919 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.71, allocations: 448 / 0.7919 GB, free: 4.441 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)