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.00123/0.00123, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001236/0.001236, allocations: 187.9 kB / 17.19 MB, free: 5.688 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.421/1.421, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.945/1.945, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001499/0.001499, allocations: 71.89 kB / 0.6722 GB, free: 6.613 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.216, allocations: 114.5 MB / 0.784 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002891/0.219, allocations: 1.246 MB / 0.7852 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.22, allocations: 0.5838 MB / 0.7858 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/0.2201, allocations: 0 / 0.7858 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.2201, allocations: 0 / 0.7858 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.029e-05/0.2202, allocations: 0 / 0.7858 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006447/0.2209, allocations: 139.4 kB / 0.7859 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.158e-05/0.2209, allocations: 15.88 kB / 0.786 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.221, allocations: 4 kB / 0.786 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.886e-05/0.221, allocations: 0 / 0.786 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.614e-05/0.2211, allocations: 11.98 kB / 0.786 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.2211, allocations: 0 / 0.786 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005474/0.2216, allocations: 343.3 kB / 0.7863 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.2217, allocations: 7.938 kB / 0.7863 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.2217, allocations: 3.938 kB / 0.7863 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.222, allocations: 140 kB / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.222, allocations: 0 / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.493e-06/0.222, allocations: 0 / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.222, allocations: 0 / 0.7864 GB, free: 1.449 MB / 0.6544 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.0004406/0.2224, allocations: 355.4 kB / 0.7868 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2225, allocations: 16.03 kB / 0.7868 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.2225, allocations: 0.9375 kB / 0.7868 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.2227, allocations: 168.3 kB / 0.787 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.2227, allocations: 384 / 0.787 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-06/0.2227, allocations: 384 / 0.787 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.2228, allocations: 38.27 kB / 0.787 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2228, allocations: 192 / 0.787 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.2228, allocations: 3.938 kB / 0.787 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.2229, allocations: 3.984 kB / 0.787 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.255e-05/0.2229, allocations: 15.92 kB / 0.787 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001893/0.2231, allocations: 153.7 kB / 0.7872 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.326e-05/0.2232, allocations: 18.61 kB / 0.7872 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.026e-05/0.2232, allocations: 8.922 kB / 0.7872 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.2232, allocations: 3.984 kB / 0.7872 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.2232, allocations: 38.56 kB / 0.7872 GB, free: 488 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 2.855e-06/0.2232, allocations: 4 kB / 0.7872 GB, free: 484 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001575/0.2234, allocations: 45.58 kB / 0.7873 GB, free: 432 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.2235, allocations: 51.41 kB / 0.7873 GB, free: 368 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.71e-05/0.2235, allocations: 101.8 kB / 0.7874 GB, free: 256 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.2236, allocations: 25.7 kB / 0.7875 GB, free: 224 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.216e-05/0.2236, allocations: 80.14 kB / 0.7875 GB, free: 140 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.2236, allocations: 3.906 kB / 0.7875 GB, free: 136 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.2237, allocations: 13.97 kB / 0.7875 GB, free: 116 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.4064/0.6301, allocations: 318.8 kB / 0.7879 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.644e-05/0.6301, allocations: 0 / 0.7879 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-05/0.6302, allocations: 2.438 kB / 0.7879 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.864e-05/0.6302, allocations: 13.52 kB / 0.7879 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6302, allocations: 0 / 0.7879 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.341e-05/0.6303, allocations: 37.64 kB / 0.7879 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.6304, allocations: 8.875 kB / 0.7879 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.6304, allocations: 3.75 kB / 0.7879 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.6304, allocations: 4 kB / 0.7879 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.6306, allocations: 10.42 kB / 0.7879 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002478/0.6309, allocations: 0.5854 MB / 0.7885 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.099e-05/0.6309, allocations: 0 / 0.7885 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.6309, allocations: 3.875 kB / 0.7885 GB, free: 47.9 MB / 0.6544 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 5.611e-05/0.631, allocations: 114.3 kB / 0.7886 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-06/0.631, allocations: 3.938 kB / 0.7886 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.6311, allocations: 46.55 kB / 0.7887 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.6311, allocations: 2.906 kB / 0.7887 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6311, allocations: 2.438 kB / 0.7887 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.6311, allocations: 0 / 0.7887 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.554e-05/0.6312, allocations: 153.4 kB / 0.7888 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6312, allocations: 6.938 kB / 0.7888 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.144e-05/0.6313, allocations: 8.625 kB / 0.7888 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.6313, allocations: 0 / 0.7888 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.6313, allocations: 0 / 0.7888 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001734/0.6315, allocations: 0.5847 MB / 0.7894 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6315, allocations: 1.406 kB / 0.7894 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.482e-05/0.6316, allocations: 70.78 kB / 0.7895 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.982e-05/0.6316, allocations: 77.11 kB / 0.7895 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.6316, allocations: 3.875 kB / 0.7895 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.672e-05/0.6316, allocations: 3.406 kB / 0.7895 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.6317, allocations: 2.625 kB / 0.7896 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.6317, allocations: 3.375 kB / 0.7896 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.007e-05/0.6317, allocations: 78.03 kB / 0.7896 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6317, allocations: 1.969 kB / 0.7896 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000266/0.632, allocations: 13.83 kB / 0.7896 GB, free: 46.74 MB / 0.6544 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.0001508/0.6321, allocations: 116.5 kB / 0.7898 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001655/0.6323, allocations: 20.41 kB / 0.7898 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6323, allocations: 0 / 0.7898 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.982e-05/0.6324, allocations: 18.64 kB / 0.7898 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.6326, allocations: 2.219 kB / 0.7898 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.6329, allocations: 125 kB / 0.7899 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.05e-05/0.633, allocations: 0.6782 MB / 0.7906 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.392e-05/0.633, allocations: 7.438 kB / 0.7906 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of SimCode: time 3.7e-07/0.633, allocations: 2.688 kB / 0.7906 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.002086/0.6351, allocations: 0.6986 MB / 0.7913 GB, free: 45.84 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (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)