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.001055/0.001055, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008961/0.008962, allocations: 170 kB / 16.26 MB, free: 6.613 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.399/1.399, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.691/1.691, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005955/0.0005955, allocations: 12.84 kB / 0.6743 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2279, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001302/0.2292, allocations: 0.9781 MB / 0.7888 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009195/0.2301, allocations: 0.5967 MB / 0.7894 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.386e-05/0.2302, allocations: 0 / 0.7894 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.2302, allocations: 0 / 0.7894 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.482e-05/0.2302, allocations: 7.984 kB / 0.7894 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.2307, allocations: 115.6 kB / 0.7895 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.176e-05/0.2307, allocations: 7.938 kB / 0.7895 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.2308, allocations: 4 kB / 0.7895 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.27e-05/0.2308, allocations: 7.922 kB / 0.7896 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.154e-05/0.2308, allocations: 4 kB / 0.7896 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.2308, allocations: 0 / 0.7896 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004774/0.2313, allocations: 343.3 kB / 0.7899 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.2314, allocations: 8 kB / 0.7899 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.2314, allocations: 33.64 kB / 0.7899 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.2316, allocations: 140 kB / 0.7901 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2316, allocations: 0 / 0.7901 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2316, allocations: 0 / 0.7901 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.2317, allocations: 0 / 0.7901 GB, free: 9.332 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.0003808/0.232, allocations: 347.4 kB / 0.7904 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.2321, allocations: 12.03 kB / 0.7904 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.586e-05/0.2321, allocations: 0.9375 kB / 0.7904 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.2322, allocations: 172.3 kB / 0.7906 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.2323, allocations: 384 / 0.7906 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.2323, allocations: 4.375 kB / 0.7906 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.2324, allocations: 34.2 kB / 0.7906 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2324, allocations: 192 / 0.7906 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2324, allocations: 11.88 kB / 0.7906 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2325, allocations: 0 / 0.7906 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.411e-05/0.2325, allocations: 4 kB / 0.7906 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.2327, allocations: 153.7 kB / 0.7908 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.486e-05/0.2327, allocations: 22.61 kB / 0.7908 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.2328, allocations: 8.922 kB / 0.7908 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.2328, allocations: 7.969 kB / 0.7908 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.2328, allocations: 34.56 kB / 0.7908 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.2328, allocations: 7.938 kB / 0.7908 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001403/0.233, allocations: 37.64 kB / 0.7909 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.233, allocations: 55.53 kB / 0.7909 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.998e-05/0.2331, allocations: 101.8 kB / 0.791 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.2331, allocations: 25.7 kB / 0.7911 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.2332, allocations: 80.14 kB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.2332, allocations: 3.906 kB / 0.7911 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.2332, allocations: 9.719 kB / 0.7911 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2334, allocations: 318.8 kB / 0.7914 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.2334, allocations: 0 / 0.7914 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-06/0.2334, allocations: 8.125 kB / 0.7915 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.074e-05/0.2334, allocations: 16.8 kB / 0.7915 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2334, allocations: 0 / 0.7915 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.703e-05/0.2335, allocations: 37.69 kB / 0.7915 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.2335, allocations: 4 kB / 0.7915 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.2335, allocations: 3.938 kB / 0.7915 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.2335, allocations: 4 kB / 0.7915 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.2337, allocations: 11.98 kB / 0.7915 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004152/0.2341, allocations: 0.5861 MB / 0.7921 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.2342, allocations: 0 / 0.7921 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.2342, allocations: 3.938 kB / 0.7921 GB, free: 6.984 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.604e-05/0.2343, allocations: 117.8 kB / 0.7922 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-06/0.2343, allocations: 0 / 0.7922 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.2344, allocations: 48.91 kB / 0.7923 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2344, allocations: 3.984 kB / 0.7923 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2344, allocations: 0 / 0.7923 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2344, allocations: 0 / 0.7923 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.2345, allocations: 157.5 kB / 0.7924 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2345, allocations: 0 / 0.7924 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.06e-05/0.2346, allocations: 8 kB / 0.7924 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.2346, allocations: 3.984 kB / 0.7924 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.2346, allocations: 3.938 kB / 0.7924 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003081/0.235, allocations: 0.5861 MB / 0.793 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.235, allocations: 11.95 kB / 0.793 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.984e-05/0.2351, allocations: 61.08 kB / 0.7931 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-05/0.2351, allocations: 81.09 kB / 0.7932 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.2351, allocations: 0 / 0.7932 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.517e-05/0.2351, allocations: 128 / 0.7932 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.2351, allocations: 15.88 kB / 0.7932 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.2352, allocations: 0 / 0.7932 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.068e-05/0.2352, allocations: 75.28 kB / 0.7932 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2352, allocations: 0 / 0.7932 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000191/0.2354, allocations: 11.94 kB / 0.7933 GB, free: 5.68 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.0001634/0.2356, allocations: 111.2 kB / 0.7934 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.2357, allocations: 24.08 kB / 0.7934 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2357, allocations: 4 kB / 0.7934 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.931e-05/0.2358, allocations: 11.98 kB / 0.7934 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.236, allocations: 4 kB / 0.7934 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.2363, allocations: 111 kB / 0.7935 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.2365, allocations: 0.6772 MB / 0.7942 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.538e-05/0.2365, allocations: 4 kB / 0.7942 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.175e-05/0.2366, allocations: 11.44 kB / 0.7942 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2366, allocations: 0 / 0.7942 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of Templates: time 0.002468/0.239, allocations: 418.1 kB / 0.7946 GB, free: 4.27 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: