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.001445/0.001445, allocations: 106 kB / 16.29 MB, free: 6.426 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.001645/0.001645, allocations: 188.6 kB / 17.22 MB, free: 5.957 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.334/1.334, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.801/1.801, allocations: 292.3 MB / 0.5495 GB, free: 17.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.001474/0.001474, allocations: 79.88 kB / 0.6722 GB, free: 6.477 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2653, allocations: 114.6 MB / 0.7841 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002604/0.268, allocations: 1.229 MB / 0.7853 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009847/0.269, allocations: 0.5916 MB / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.269, allocations: 0 / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.187e-05/0.2691, allocations: 0 / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.392e-05/0.2691, allocations: 3.938 kB / 0.7859 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.2697, allocations: 139.4 kB / 0.786 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.698e-05/0.2697, allocations: 11.88 kB / 0.786 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.044e-05/0.2698, allocations: 8 kB / 0.786 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.97e-05/0.2698, allocations: 0 / 0.786 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.869e-05/0.2699, allocations: 15.91 kB / 0.786 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.2699, allocations: 0 / 0.786 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005239/0.2704, allocations: 339.4 kB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.2704, allocations: 0 / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.2704, allocations: 11.86 kB / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.2707, allocations: 136 kB / 0.7865 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2707, allocations: 0 / 0.7865 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2707, allocations: 4 kB / 0.7865 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2708, allocations: 0 / 0.7865 GB, free: 1.312 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.0004648/0.2712, allocations: 355.4 kB / 0.7868 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.2713, allocations: 12.03 kB / 0.7869 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.2713, allocations: 0.9375 kB / 0.7869 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.2715, allocations: 176.2 kB / 0.787 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.2715, allocations: 384 / 0.787 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.2715, allocations: 8.359 kB / 0.787 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.522e-05/0.2716, allocations: 34.27 kB / 0.7871 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2716, allocations: 192 / 0.7871 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.2717, allocations: 7.938 kB / 0.7871 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2717, allocations: 0 / 0.7871 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.341e-05/0.2717, allocations: 4 kB / 0.7871 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.2719, allocations: 149.7 kB / 0.7872 GB, free: 448 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.468e-05/0.272, allocations: 26.61 kB / 0.7872 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.96e-05/0.272, allocations: 8.859 kB / 0.7873 GB, free: 400 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.272, allocations: 4 kB / 0.7873 GB, free: 396 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.2721, allocations: 34.56 kB / 0.7873 GB, free: 352 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2721, allocations: 0 / 0.7873 GB, free: 352 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001618/0.2722, allocations: 45.62 kB / 0.7873 GB, free: 300 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.2723, allocations: 51.41 kB / 0.7874 GB, free: 236 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.2724, allocations: 97.8 kB / 0.7875 GB, free: 128 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.2724, allocations: 25.95 kB / 0.7875 GB, free: 96 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.2724, allocations: 88.14 kB / 0.7876 GB, free: 4 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.3953/0.6677, allocations: 6.969 kB / 0.7876 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.6678, allocations: 12.72 kB / 0.7876 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.52e-05/0.6679, allocations: 310.8 kB / 0.7879 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.999e-05/0.6679, allocations: 4.812 kB / 0.7879 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.751e-05/0.668, allocations: 3.5 kB / 0.7879 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.027e-05/0.668, allocations: 8.453 kB / 0.7879 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.668, allocations: 0.7188 kB / 0.7879 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.583e-05/0.6681, allocations: 40.22 kB / 0.788 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.6682, allocations: 11.88 kB / 0.788 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.6682, allocations: 3.75 kB / 0.788 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.6682, allocations: 3.469 kB / 0.788 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.6684, allocations: 11.06 kB / 0.788 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002528/0.6686, allocations: 0.5833 MB / 0.7886 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.019e-05/0.6687, allocations: 2.125 kB / 0.7886 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.6687, allocations: 2.375 kB / 0.7886 GB, free: 47.83 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.55e-05/0.6688, allocations: 110.2 kB / 0.7887 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.6688, allocations: 10.12 kB / 0.7887 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.71e-05/0.6689, allocations: 51.91 kB / 0.7887 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.6689, allocations: 1.219 kB / 0.7887 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.6689, allocations: 0 / 0.7887 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.6689, allocations: 0 / 0.7887 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.467e-05/0.669, allocations: 149.3 kB / 0.7889 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.669, allocations: 5.156 kB / 0.7889 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.527e-05/0.669, allocations: 10.02 kB / 0.7889 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.6691, allocations: 0 / 0.7889 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.6691, allocations: 0.7969 kB / 0.7889 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001639/0.6692, allocations: 0.589 MB / 0.7895 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6693, allocations: 0 / 0.7895 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.449e-05/0.6693, allocations: 65.47 kB / 0.7895 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.6693, allocations: 80.31 kB / 0.7896 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.6694, allocations: 2.5 kB / 0.7896 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.401e-05/0.6694, allocations: 7.969 kB / 0.7896 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.224e-05/0.6694, allocations: 0 / 0.7896 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.6694, allocations: 0 / 0.7896 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.122e-05/0.6694, allocations: 81.06 kB / 0.7897 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6694, allocations: 0.5312 kB / 0.7897 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000199/0.6696, allocations: 14.36 kB / 0.7897 GB, free: 46.67 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.0001449/0.6698, allocations: 114 kB / 0.7898 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001556/0.6699, allocations: 21.28 kB / 0.7898 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.67, allocations: 1.375 kB / 0.7898 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.248e-05/0.67, allocations: 17.59 kB / 0.7898 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.6702, allocations: 2.781 kB / 0.7898 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/0.6705, allocations: 94.34 kB / 0.7899 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.6706, allocations: 0.6774 MB / 0.7906 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.505e-05/0.6707, allocations: 1.156 kB / 0.7906 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.173e-05/0.6707, allocations: 8.938 kB / 0.7906 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.6707, allocations: 0 / 0.7906 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.002298/0.673, allocations: 444.4 kB / 0.791 GB, free: 45.8 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)