Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.752/2.752, allocations: 287.3 MB / 302.3 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00231/0.00231, allocations: 184.2 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 104.7 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004778, allocations: 11.44 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2192, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001409/0.2207, allocations: 0.9726 MB / 0.9791 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006279/0.2213, allocations: 316.9 kB / 0.9794 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.554e-05/0.2214, allocations: 4 kB / 0.9794 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.2214, allocations: 7.938 kB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.94e-05/0.2214, allocations: 3.938 kB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.2218, allocations: 63.78 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.3e-05/0.2219, allocations: 7.984 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.2219, allocations: 0 / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.997e-05/0.222, allocations: 7.984 kB / 0.9795 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.222, allocations: 4 kB / 0.9795 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.2221, allocations: 0 / 0.9795 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/0.2224, allocations: 179.7 kB / 0.9797 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.717e-06/0.2225, allocations: 0 / 0.9797 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.2225, allocations: 29.7 kB / 0.9797 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.2227, allocations: 56.16 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2227, allocations: 0 / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2227, allocations: 0 / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.2227, allocations: 0 / 0.9798 GB, free: 26.72 MB / 0.6198 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.0003214/0.2231, allocations: 327.4 kB / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.2231, allocations: 12.02 kB / 0.9801 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.2232, allocations: 11.92 kB / 0.9801 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.621e-05/0.2233, allocations: 170.9 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.2233, allocations: 4 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-06/0.2233, allocations: 0 / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.697e-05/0.2234, allocations: 29.7 kB / 0.9803 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2234, allocations: 0 / 0.9803 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.2235, allocations: 0 / 0.9803 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2235, allocations: 0 / 0.9803 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.372e-05/0.2235, allocations: 7.984 kB / 0.9803 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.2237, allocations: 157.6 kB / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.093e-05/0.2237, allocations: 30.55 kB / 0.9805 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.2238, allocations: 0 / 0.9805 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.2238, allocations: 38.61 kB / 0.9805 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.2238, allocations: 0 / 0.9805 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001541/0.224, allocations: 37.7 kB / 0.9806 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.224, allocations: 51.41 kB / 0.9806 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.98e-05/0.2241, allocations: 101.9 kB / 0.9807 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.2241, allocations: 29.69 kB / 0.9808 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.036e-05/0.2241, allocations: 80.14 kB / 0.9808 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.2242, allocations: 3.906 kB / 0.9808 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.2242, allocations: 4 kB / 0.9808 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.981e-05/0.2243, allocations: 314.8 kB / 0.9811 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.369e-05/0.2243, allocations: 0 / 0.9811 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.128e-05/0.2243, allocations: 0 / 0.9811 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.064e-05/0.2243, allocations: 4.188 kB / 0.9811 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2243, allocations: 7.953 kB / 0.9812 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.297e-05/0.2244, allocations: 45.62 kB / 0.9812 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.2245, allocations: 8 kB / 0.9812 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2245, allocations: 3.984 kB / 0.9812 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2245, allocations: 0 / 0.9812 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.2247, allocations: 9 kB / 0.9812 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000304/0.2251, allocations: 0.5938 MB / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.617e-05/0.2251, allocations: 0 / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.2251, allocations: 3.953 kB / 0.9818 GB, free: 24.43 MB / 0.6198 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.83e-05/0.2252, allocations: 109.9 kB / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.2252, allocations: 4 kB / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.2253, allocations: 44.81 kB / 0.9819 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2253, allocations: 3.938 kB / 0.982 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2254, allocations: 0 / 0.982 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2254, allocations: 4.094 kB / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.351e-05/0.2255, allocations: 157.5 kB / 0.9821 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.2255, allocations: 0 / 0.9821 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.2256, allocations: 8 kB / 0.9821 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.2256, allocations: 0 / 0.9821 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.2256, allocations: 0 / 0.9821 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002372/0.2259, allocations: 0.586 MB / 0.9827 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2259, allocations: 12.05 kB / 0.9827 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.406e-05/0.226, allocations: 61.08 kB / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/0.226, allocations: 77.11 kB / 0.9828 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.2261, allocations: 7.984 kB / 0.9828 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.2261, allocations: 0 / 0.9828 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.2261, allocations: 7.953 kB / 0.9828 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.2261, allocations: 0 / 0.9828 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.509e-05/0.2261, allocations: 79.31 kB / 0.9829 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2262, allocations: 0 / 0.9829 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002485/0.2264, allocations: 12 kB / 0.9829 GB, free: 23.14 MB / 0.6198 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.0001832/0.2266, allocations: 115.2 kB / 0.983 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.2268, allocations: 19.98 kB / 0.9831 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2269, allocations: 0 / 0.9831 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.227, allocations: 24.08 kB / 0.9831 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.2272, allocations: 0 / 0.9831 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.2275, allocations: 109.7 kB / 0.9832 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.2276, allocations: 0.6809 MB / 0.9839 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.514e-05/0.2277, allocations: 0 / 0.9839 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.454e-05/0.2277, allocations: 7.438 kB / 0.9839 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.2277, allocations: 4.062 kB / 0.9839 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of Templates: time 0.002805/0.2305, allocations: 405 kB / 0.9843 GB, free: 21.74 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)