Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001166/0.001166, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.787/1.787, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005272/0.0005272, allocations: 14.25 kB / 0.6735 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2785, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001471/0.28, allocations: 0.9713 MB / 0.7881 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005568/0.2806, allocations: 294.1 kB / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.775e-05/0.2806, allocations: 0 / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.085e-05/0.2806, allocations: 3.938 kB / 0.7883 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.369e-05/0.2807, allocations: 3.984 kB / 0.7884 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.281, allocations: 59.86 kB / 0.7884 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.208e-05/0.281, allocations: 11.97 kB / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.64e-05/0.281, allocations: 0 / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.279e-05/0.2811, allocations: 4 kB / 0.7884 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.78e-05/0.2811, allocations: 7.875 kB / 0.7884 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.2811, allocations: 0 / 0.7884 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.2815, allocations: 175.8 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.2815, allocations: 3.938 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.2815, allocations: 29.7 kB / 0.7886 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.2817, allocations: 52.16 kB / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2817, allocations: 0 / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2817, allocations: 4 kB / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.2817, allocations: 0 / 0.7887 GB, free: 10.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.0004624/0.2822, allocations: 327.4 kB / 0.789 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.2822, allocations: 8.031 kB / 0.789 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.2823, allocations: 8 kB / 0.789 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.2824, allocations: 170.9 kB / 0.7892 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.2824, allocations: 0 / 0.7892 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.2825, allocations: 0 / 0.7892 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.2826, allocations: 37.69 kB / 0.7892 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2826, allocations: 0 / 0.7892 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.2826, allocations: 0 / 0.7892 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2826, allocations: 3.938 kB / 0.7892 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.986e-05/0.2826, allocations: 7.938 kB / 0.7892 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.2828, allocations: 153.6 kB / 0.7894 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.073e-05/0.2829, allocations: 26.59 kB / 0.7894 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.2829, allocations: 0 / 0.7894 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.283, allocations: 38.62 kB / 0.7894 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.283, allocations: 3.938 kB / 0.7894 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001674/0.2832, allocations: 37.64 kB / 0.7895 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.2832, allocations: 55.41 kB / 0.7895 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.376e-05/0.2833, allocations: 97.84 kB / 0.7896 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.2833, allocations: 25.7 kB / 0.7896 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.2834, allocations: 80.39 kB / 0.7897 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.2834, allocations: 7.906 kB / 0.7897 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.2834, allocations: 0 / 0.7897 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2835, allocations: 318.8 kB / 0.79 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.2836, allocations: 0 / 0.79 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.115e-05/0.2836, allocations: 11.98 kB / 0.79 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.426e-05/0.2836, allocations: 0 / 0.79 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2836, allocations: 0 / 0.79 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.268e-05/0.2837, allocations: 45.59 kB / 0.7901 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2837, allocations: 12.09 kB / 0.7901 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2837, allocations: 0 / 0.7901 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.2837, allocations: 0 / 0.7901 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.2839, allocations: 11.98 kB / 0.7901 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004002/0.2843, allocations: 0.5782 MB / 0.7907 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.006e-05/0.2844, allocations: 0 / 0.7907 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.2844, allocations: 0 / 0.7907 GB, free: 8.066 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 (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 9.431e-05/0.2845, allocations: 117.9 kB / 0.7908 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-06/0.2845, allocations: 0 / 0.7908 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.2846, allocations: 48.75 kB / 0.7908 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2846, allocations: 0 / 0.7908 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.2846, allocations: 0 / 0.7908 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2846, allocations: 0 / 0.7908 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.2848, allocations: 161.5 kB / 0.791 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2848, allocations: 0 / 0.791 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.676e-05/0.2849, allocations: 11.98 kB / 0.791 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2849, allocations: 7.969 kB / 0.791 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.2849, allocations: 0 / 0.791 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003113/0.2852, allocations: 0.586 MB / 0.7916 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2852, allocations: 0 / 0.7916 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.105e-05/0.2853, allocations: 69.2 kB / 0.7916 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.2853, allocations: 77.11 kB / 0.7917 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.2853, allocations: 0 / 0.7917 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.364e-05/0.2854, allocations: 4 kB / 0.7917 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.2854, allocations: 4 kB / 0.7917 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.2854, allocations: 7.984 kB / 0.7917 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.371e-05/0.2855, allocations: 79.23 kB / 0.7918 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2855, allocations: 4 kB / 0.7918 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002056/0.2857, allocations: 15.88 kB / 0.7918 GB, free: 6.754 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 (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.0001555/0.2859, allocations: 117.4 kB / 0.7919 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001601/0.286, allocations: 23.92 kB / 0.792 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.286, allocations: 0 / 0.792 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.2861, allocations: 15.98 kB / 0.792 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.995e-05/0.2862, allocations: 0 / 0.792 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.2865, allocations: 107.3 kB / 0.7921 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.2868, allocations: 0.677 MB / 0.7927 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.685e-05/0.2868, allocations: 4 kB / 0.7927 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.178e-05/0.2868, allocations: 7.438 kB / 0.7928 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2869, allocations: 0 / 0.7928 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of Templates: time 0.002489/0.2893, allocations: 419.6 kB / 0.7932 GB, free: 5.344 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) Environment - environmentSimulation: