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.001395/0.001395, 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.001718/0.001718, allocations: 192.4 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.403/1.403, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.737/1.737, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001404/0.001404, allocations: 72.11 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2212, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002354/0.2236, allocations: 1.256 MB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009344/0.2246, allocations: 0.5799 MB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.3e-05/0.2246, allocations: 0 / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.674e-05/0.2246, allocations: 3.938 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.342e-05/0.2247, allocations: 0 / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005293/0.2252, allocations: 143.4 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.446e-05/0.2253, allocations: 7.938 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.689e-05/0.2253, allocations: 11.94 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.842e-05/0.2254, allocations: 7.922 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.706e-05/0.2254, allocations: 4 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.2254, allocations: 0 / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005198/0.2259, allocations: 347.3 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.226, allocations: 0 / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.226, allocations: 7.938 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.2263, allocations: 132 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2263, allocations: 0 / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2263, allocations: 0 / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.2263, allocations: 0 / 0.7859 GB, free: 10.86 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.0004271/0.2267, allocations: 357.8 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.2268, allocations: 12.03 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.698e-05/0.2268, allocations: 38.67 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.2269, allocations: 4.844 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.227, allocations: 160.4 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.227, allocations: 8.359 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.227, allocations: 4.375 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.2271, allocations: 30.27 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2271, allocations: 7.938 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.2272, allocations: 0 / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.2272, allocations: 0 / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.027e-05/0.2272, allocations: 7.984 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.2274, allocations: 145.7 kB / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.32e-05/0.2274, allocations: 30.53 kB / 0.7867 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.499e-05/0.2275, allocations: 12.86 kB / 0.7867 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.2275, allocations: 8.062 kB / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.2275, allocations: 30.56 kB / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2275, allocations: 0 / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001498/0.2277, allocations: 45.58 kB / 0.7868 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.2277, allocations: 51.41 kB / 0.7868 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.746e-05/0.2278, allocations: 97.84 kB / 0.7869 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.2278, allocations: 25.7 kB / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.2279, allocations: 84.39 kB / 0.787 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.2279, allocations: 7.906 kB / 0.787 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.2279, allocations: 13.72 kB / 0.787 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2281, allocations: 310.8 kB / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.513e-05/0.2281, allocations: 4 kB / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.849e-06/0.2281, allocations: 3.984 kB / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.375e-05/0.2281, allocations: 16.86 kB / 0.7873 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2281, allocations: 64 / 0.7873 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.39e-05/0.2282, allocations: 41.64 kB / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2282, allocations: 11.88 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2282, allocations: 0 / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2283, allocations: 0 / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.2284, allocations: 11.98 kB / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000358/0.2288, allocations: 0.5821 MB / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.274e-05/0.2288, allocations: 12.09 kB / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.2288, allocations: 4 kB / 0.788 GB, free: 8.453 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.1e-05/0.2289, allocations: 112.6 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.2289, allocations: 3.906 kB / 0.7881 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.229, allocations: 48.75 kB / 0.7882 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2291, allocations: 4 kB / 0.7882 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2291, allocations: 0 / 0.7882 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2291, allocations: 0 / 0.7882 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.2292, allocations: 165.6 kB / 0.7883 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2292, allocations: 0 / 0.7883 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.322e-05/0.2293, allocations: 13.05 kB / 0.7883 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2293, allocations: 0 / 0.7883 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.2293, allocations: 0 / 0.7883 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003381/0.2296, allocations: 0.5821 MB / 0.7889 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2296, allocations: 3.938 kB / 0.7889 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.396e-05/0.2297, allocations: 65.25 kB / 0.789 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.2298, allocations: 81.11 kB / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.2298, allocations: 0 / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.448e-05/0.2298, allocations: 0 / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.2298, allocations: 3.938 kB / 0.789 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.2298, allocations: 0 / 0.789 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.946e-05/0.2299, allocations: 79.28 kB / 0.7891 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2299, allocations: 4.125 kB / 0.7891 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002075/0.2301, allocations: 23.92 kB / 0.7891 GB, free: 7.148 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.0003473/0.2305, allocations: 0.6007 MB / 0.7897 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001552/0.2306, allocations: 20.02 kB / 0.7898 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.2306, allocations: 4 kB / 0.7898 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.789e-05/0.2307, allocations: 15.98 kB / 0.7898 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.2309, allocations: 6.375 kB / 0.7898 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.2313, allocations: 139.5 kB / 0.7899 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.2315, allocations: 0.6768 MB / 0.7906 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.648e-05/0.2316, allocations: 8.062 kB / 0.7906 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.2316, allocations: 11.44 kB / 0.7906 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2316, allocations: 0 / 0.7906 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.2495, allocations: 1.318 MB / 0.7919 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.17, allocations: 14.81 kB / 0.7919 GB, free: 4.422 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)