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.001252/0.001252, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001507/0.001507, allocations: 189.5 kB / 16.25 MB, free: 6.637 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.39/1.39, allocations: 205.1 MB / 222.1 MB, free: 4.672 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.692/1.692, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001364/0.001364, allocations: 61.61 kB / 0.671 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2548, allocations: 114.6 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002588/0.2575, allocations: 1.309 MB / 0.7841 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009403/0.2585, allocations: 0.5927 MB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.037e-05/0.2585, allocations: 0 / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.2585, allocations: 0 / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.041e-05/0.2586, allocations: 7.938 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005527/0.2592, allocations: 130.7 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.518e-05/0.2592, allocations: 7.984 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.2593, allocations: 0 / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.752e-05/0.2593, allocations: 7.938 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.11e-05/0.2594, allocations: 11.92 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.2594, allocations: 0 / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004823/0.2599, allocations: 335.4 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.2599, allocations: 7.984 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.2599, allocations: 7.938 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.2602, allocations: 144 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.2602, allocations: 4 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2602, allocations: 0 / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2602, allocations: 0 / 0.7853 GB, free: 11.34 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.0005499/0.2608, allocations: 343.5 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.2609, allocations: 15.91 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.2609, allocations: 4.844 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.2611, allocations: 168.3 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.2611, allocations: 4.375 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.2611, allocations: 4.375 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.2613, allocations: 34.25 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2613, allocations: 192 / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.2613, allocations: 3.938 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2613, allocations: 0 / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.301e-05/0.2613, allocations: 4 kB / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.2616, allocations: 153.7 kB / 0.786 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.552e-05/0.2616, allocations: 26.52 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.562e-05/0.2617, allocations: 8.859 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.2617, allocations: 4.062 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.2617, allocations: 30.56 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.065e-05/0.2618, allocations: 0 / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001743/0.2619, allocations: 45.62 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.262, allocations: 51.41 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.985e-05/0.2621, allocations: 97.98 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.2621, allocations: 25.7 kB / 0.7863 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.2622, allocations: 80.14 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.2622, allocations: 11.84 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.2623, allocations: 17.7 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.2624, allocations: 310.8 kB / 0.7867 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.2624, allocations: 4 kB / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-06/0.2624, allocations: 0 / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.505e-05/0.2625, allocations: 21.05 kB / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2625, allocations: 0 / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.331e-05/0.2626, allocations: 37.69 kB / 0.7868 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2626, allocations: 4 kB / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.2626, allocations: 3.938 kB / 0.7868 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2626, allocations: 0 / 0.7868 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.2628, allocations: 15.94 kB / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004868/0.2633, allocations: 0.59 MB / 0.7874 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.2633, allocations: 0 / 0.7874 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.2634, allocations: 0 / 0.7874 GB, free: 8.996 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 8.634e-05/0.2635, allocations: 116.8 kB / 0.7875 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.2635, allocations: 7.906 kB / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.2636, allocations: 48.75 kB / 0.7876 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.2636, allocations: 8.125 kB / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2636, allocations: 0 / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2636, allocations: 0 / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.2638, allocations: 161.5 kB / 0.7877 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2638, allocations: 0 / 0.7877 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.995e-05/0.2639, allocations: 8 kB / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2639, allocations: 0 / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.2639, allocations: 0 / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003263/0.2642, allocations: 0.5821 MB / 0.7883 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2642, allocations: 7.922 kB / 0.7883 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.422e-05/0.2643, allocations: 65.11 kB / 0.7884 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/0.2644, allocations: 77.11 kB / 0.7884 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.2644, allocations: 0 / 0.7884 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.592e-05/0.2644, allocations: 3.984 kB / 0.7884 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/0.2644, allocations: 3.938 kB / 0.7884 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.2644, allocations: 8.125 kB / 0.7884 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.378e-05/0.2645, allocations: 79.28 kB / 0.7885 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2645, allocations: 0 / 0.7885 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002004/0.2647, allocations: 15.94 kB / 0.7885 GB, free: 7.688 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.0001807/0.2649, allocations: 107.2 kB / 0.7886 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.265, allocations: 15.98 kB / 0.7887 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.265, allocations: 4.156 kB / 0.7887 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.129e-05/0.2651, allocations: 23.92 kB / 0.7887 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.2653, allocations: 0 / 0.7887 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.2657, allocations: 102 kB / 0.7888 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.266, allocations: 0.6845 MB / 0.7894 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.905e-05/0.266, allocations: 4.062 kB / 0.7895 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.2661, allocations: 7.438 kB / 0.7895 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2661, allocations: 0 / 0.7895 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of Templates: time 0.002618/0.2687, allocations: 441.4 kB / 0.7899 GB, free: 6.262 MB / 0.6075 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)