Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json 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/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 176.5 kB / 16.76 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4785/0.4785, allocations: 86.27 MB / 103.8 MB, free: 14.56 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 223.3 MB / 348.4 MB, free: 5.012 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007815/0.0007815, allocations: 93.33 kB / 420.2 MB, free: 9.684 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004002, allocations: 8 kB / 0.4901 GB, free: 8.027 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2918, allocations: 71.02 MB / 0.5594 GB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.4095, allocations: 100.6 MB / 0.6577 GB, free: 8.934 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.4098, allocations: 75.95 kB / 0.6578 GB, free: 8.859 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006653/0.4164, allocations: 2.313 MB / 0.66 GB, free: 6.547 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4165, allocations: 0 / 0.66 GB, free: 6.547 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.4165, allocations: 0 / 0.66 GB, free: 6.547 MB / 474.7 MB 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.0002597/0.4167, allocations: 335.5 kB / 0.6603 GB, free: 6.168 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.4168, allocations: 19.97 kB / 0.6604 GB, free: 6.148 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.483e-05/0.4168, allocations: 0.9375 kB / 0.6604 GB, free: 6.148 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.4169, allocations: 168.3 kB / 0.6605 GB, free: 5.945 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.417, allocations: 384 / 0.6605 GB, free: 5.945 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-06/0.417, allocations: 384 / 0.6605 GB, free: 5.945 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.868e-05/0.417, allocations: 34.27 kB / 0.6606 GB, free: 5.906 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.4171, allocations: 192 / 0.6606 GB, free: 5.906 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.4171, allocations: 3.938 kB / 0.6606 GB, free: 5.902 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.4171, allocations: 4 kB / 0.6606 GB, free: 5.898 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.093e-05/0.4171, allocations: 0 / 0.6606 GB, free: 5.898 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.4173, allocations: 161.6 kB / 0.6607 GB, free: 5.691 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.152e-05/0.4173, allocations: 26.48 kB / 0.6607 GB, free: 5.656 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.4173, allocations: 12.86 kB / 0.6608 GB, free: 5.641 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.4174, allocations: 0 / 0.6608 GB, free: 5.641 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.4174, allocations: 38.55 kB / 0.6608 GB, free: 5.594 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.4174, allocations: 0 / 0.6608 GB, free: 5.594 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001197/0.4175, allocations: 45.64 kB / 0.6608 GB, free: 5.543 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.4176, allocations: 55.34 kB / 0.6609 GB, free: 5.477 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.997e-05/0.4176, allocations: 97.86 kB / 0.661 GB, free: 5.371 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.4176, allocations: 29.69 kB / 0.661 GB, free: 5.336 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.492e-05/0.4177, allocations: 80.14 kB / 0.6611 GB, free: 5.254 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.4177, allocations: 3.906 kB / 0.6611 GB, free: 5.25 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-06/0.4177, allocations: 0 / 0.6611 GB, free: 5.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.4178, allocations: 311.1 kB / 0.6614 GB, free: 4.938 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.145e-05/0.4178, allocations: 12 kB / 0.6614 GB, free: 4.926 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.241e-06/0.4178, allocations: 0 / 0.6614 GB, free: 4.926 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.924e-05/0.4179, allocations: 12.86 kB / 0.6614 GB, free: 4.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.4179, allocations: 0 / 0.6614 GB, free: 4.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.957e-05/0.4179, allocations: 45.62 kB / 0.6615 GB, free: 4.859 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.418, allocations: 5.875 kB / 0.6615 GB, free: 4.855 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.418, allocations: 3.938 kB / 0.6615 GB, free: 4.852 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.418, allocations: 0 / 0.6615 GB, free: 4.852 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.4181, allocations: 16.08 kB / 0.6615 GB, free: 4.836 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002996/0.4184, allocations: 0.5782 MB / 0.662 GB, free: 4.234 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.4185, allocations: 4.031 kB / 0.6621 GB, free: 4.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.4185, allocations: 0 / 0.6621 GB, free: 4.23 MB / 474.7 MB 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.722e-05/0.4185, allocations: 109.8 kB / 0.6622 GB, free: 4.113 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-06/0.4186, allocations: 4.094 kB / 0.6622 GB, free: 4.109 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.725e-05/0.4187, allocations: 52.75 kB / 0.6622 GB, free: 4.047 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4187, allocations: 4 kB / 0.6622 GB, free: 4.043 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.4187, allocations: 0 / 0.6622 GB, free: 4.043 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.4187, allocations: 0 / 0.6622 GB, free: 4.043 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.594e-05/0.4188, allocations: 149.6 kB / 0.6624 GB, free: 3.848 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4188, allocations: 4 kB / 0.6624 GB, free: 3.844 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.869e-05/0.4189, allocations: 4 kB / 0.6624 GB, free: 3.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.4189, allocations: 4 kB / 0.6624 GB, free: 3.836 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.4189, allocations: 4 kB / 0.6624 GB, free: 3.832 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002901/0.4192, allocations: 0.5899 MB / 0.6629 GB, free: 3.219 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.4192, allocations: 7.875 kB / 0.663 GB, free: 3.211 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.163e-05/0.4193, allocations: 61.11 kB / 0.663 GB, free: 3.133 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.4193, allocations: 85.09 kB / 0.6631 GB, free: 3.031 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.4193, allocations: 8.125 kB / 0.6631 GB, free: 3.023 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.427e-05/0.4193, allocations: 0 / 0.6631 GB, free: 3.023 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.4194, allocations: 7.875 kB / 0.6631 GB, free: 3.016 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.4194, allocations: 0 / 0.6631 GB, free: 3.016 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.968e-05/0.4194, allocations: 79.28 kB / 0.6632 GB, free: 2.938 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4194, allocations: 0 / 0.6632 GB, free: 2.938 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001847/0.4196, allocations: 8 kB / 0.6632 GB, free: 2.93 MB / 474.7 MB 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.0001388/0.4197, allocations: 115.3 kB / 0.6633 GB, free: 2.805 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.4199, allocations: 27.92 kB / 0.6633 GB, free: 2.777 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4199, allocations: 0 / 0.6633 GB, free: 2.777 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.58e-05/0.42, allocations: 15.98 kB / 0.6633 GB, free: 2.762 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.4201, allocations: 0 / 0.6633 GB, free: 2.762 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.4204, allocations: 111.3 kB / 0.6635 GB, free: 2.625 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.4206, allocations: 0.6848 MB / 0.6641 GB, free: 1.914 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.389e-05/0.4206, allocations: 0 / 0.6641 GB, free: 1.914 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.106e-05/0.4206, allocations: 7.438 kB / 0.6641 GB, free: 1.906 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4207, allocations: 0 / 0.6641 GB, free: 1.906 MB / 474.7 MB Notification: Performance of Templates: time 0.002093/0.4228, allocations: 416.6 kB / 0.6645 GB, free: 1.512 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)