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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00076/0.00076, allocations: 89.73 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008669/0.0008669, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.579/1.579, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0005325/0.0005326, allocations: 17.31 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2188, allocations: 116.3 MB / 0.7873 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001326/0.2201, allocations: 0.9743 MB / 0.7882 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008588/0.221, allocations: 0.5309 MB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.2211, allocations: 4 kB / 0.7888 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.172e-05/0.2211, allocations: 4 kB / 0.7888 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.495e-05/0.2211, allocations: 0 / 0.7888 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.2216, allocations: 118.7 kB / 0.7889 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.174e-05/0.2217, allocations: 11.92 kB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.719e-05/0.2217, allocations: 7.938 kB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.871e-05/0.2218, allocations: 0 / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.868e-05/0.2218, allocations: 11.92 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.2218, allocations: 3.938 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004637/0.2223, allocations: 331.4 kB / 0.7892 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.538e-06/0.2223, allocations: 11.92 kB / 0.7892 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.2224, allocations: 25.7 kB / 0.7893 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.2225, allocations: 88.12 kB / 0.7893 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2225, allocations: 0 / 0.7893 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2225, allocations: 0 / 0.7893 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.2226, allocations: 0 / 0.7893 GB, free: 9.848 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.0003627/0.2229, allocations: 347.3 kB / 0.7897 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.223, allocations: 12.03 kB / 0.7897 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.679e-05/0.223, allocations: 0 / 0.7897 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.2231, allocations: 174.9 kB / 0.7898 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2231, allocations: 0 / 0.7898 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.2232, allocations: 4 kB / 0.7899 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.446e-05/0.2232, allocations: 29.7 kB / 0.7899 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.2233, allocations: 4 kB / 0.7899 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.2233, allocations: 0 / 0.7899 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2233, allocations: 0 / 0.7899 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.539e-05/0.2233, allocations: 3.938 kB / 0.7899 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.2235, allocations: 157.6 kB / 0.79 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.151e-05/0.2235, allocations: 22.67 kB / 0.7901 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.2236, allocations: 12.8 kB / 0.7901 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.2236, allocations: 7.969 kB / 0.7901 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.2236, allocations: 42.56 kB / 0.7901 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.2236, allocations: 0 / 0.7901 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001449/0.2238, allocations: 41.62 kB / 0.7902 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.2238, allocations: 55.53 kB / 0.7902 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.487e-05/0.2239, allocations: 97.86 kB / 0.7903 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.2239, allocations: 25.7 kB / 0.7903 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.224, allocations: 80.14 kB / 0.7904 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.224, allocations: 7.891 kB / 0.7904 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.224, allocations: 0 / 0.7904 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2241, allocations: 314.8 kB / 0.7907 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.242e-05/0.2241, allocations: 4 kB / 0.7907 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-06/0.2242, allocations: 4.125 kB / 0.7907 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.635e-05/0.2242, allocations: 4 kB / 0.7907 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2242, allocations: 0 / 0.7907 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.604e-05/0.2243, allocations: 45.58 kB / 0.7908 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.2243, allocations: 8 kB / 0.7908 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2243, allocations: 0 / 0.7908 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.2243, allocations: 0 / 0.7908 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.2245, allocations: 16.03 kB / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003696/0.2248, allocations: 0.59 MB / 0.7914 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.77e-05/0.2249, allocations: 0 / 0.7914 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.2249, allocations: 0 / 0.7914 GB, free: 7.527 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.547e-05/0.225, allocations: 114.5 kB / 0.7915 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-06/0.225, allocations: 0 / 0.7915 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.2251, allocations: 56.83 kB / 0.7915 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2251, allocations: 0 / 0.7915 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2251, allocations: 0 / 0.7915 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.2251, allocations: 0 / 0.7915 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.889e-05/0.2252, allocations: 157.5 kB / 0.7917 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2252, allocations: 3.984 kB / 0.7917 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.2254, allocations: 8 kB / 0.7917 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.2254, allocations: 0 / 0.7917 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.2254, allocations: 0 / 0.7917 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003888/0.2258, allocations: 0.5899 MB / 0.7923 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2258, allocations: 11.88 kB / 0.7923 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.077e-05/0.2259, allocations: 57.14 kB / 0.7923 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.2259, allocations: 77.11 kB / 0.7924 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.2259, allocations: 0 / 0.7924 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.316e-05/0.226, allocations: 0 / 0.7924 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.226, allocations: 12.11 kB / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.226, allocations: 3.953 kB / 0.7924 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.896e-05/0.226, allocations: 79.28 kB / 0.7925 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.226, allocations: 0 / 0.7925 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001947/0.2262, allocations: 15.94 kB / 0.7925 GB, free: 6.223 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001578/0.2264, allocations: 107.2 kB / 0.7926 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.2265, allocations: 19.92 kB / 0.7926 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2266, allocations: 8.156 kB / 0.7926 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.406e-05/0.2266, allocations: 11.98 kB / 0.7927 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.2268, allocations: 6.438 kB / 0.7927 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.2271, allocations: 103.1 kB / 0.7928 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.2273, allocations: 0.6731 MB / 0.7934 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.916e-05/0.2273, allocations: 11.98 kB / 0.7934 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.163e-05/0.2273, allocations: 7.438 kB / 0.7934 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2273, allocations: 4 kB / 0.7934 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of Templates: time 0.002291/0.2296, allocations: 405.5 kB / 0.7938 GB, free: 4.828 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) Environment - environmentSimulation: