Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.516/1.516, allocations: 252 MB / 267.6 MB, free: 10.9 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 182.3 kB / 327.3 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.4 MB / 0.5783 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007566/0.0007565, allocations: 86.86 kB / 0.6829 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005882/0.0005884, allocations: 9.781 kB / 0.797 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2524, allocations: 106.3 MB / 0.9008 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00133/0.2538, allocations: 0.9741 MB / 0.9018 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007824/0.2546, allocations: 0.5427 MB / 0.9023 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.221e-05/0.2546, allocations: 0 / 0.9023 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.2547, allocations: 0 / 0.9023 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.189e-05/0.2547, allocations: 3.984 kB / 0.9023 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.2552, allocations: 115.6 kB / 0.9024 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.931e-05/0.2552, allocations: 7.938 kB / 0.9024 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.166e-05/0.2553, allocations: 4 kB / 0.9024 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.845e-05/0.2553, allocations: 7.984 kB / 0.9025 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.394e-05/0.2554, allocations: 0 / 0.9025 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.2554, allocations: 4 kB / 0.9025 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003813/0.2558, allocations: 339.3 kB / 0.9028 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.021e-06/0.2558, allocations: 0 / 0.9028 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.2558, allocations: 29.64 kB / 0.9028 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.256, allocations: 92.11 kB / 0.9029 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.256, allocations: 0 / 0.9029 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.306e-06/0.256, allocations: 4 kB / 0.9029 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.256, allocations: 0 / 0.9029 GB, free: 62.32 MB / 0.6042 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.0003236/0.2563, allocations: 347.3 kB / 0.9032 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.2564, allocations: 8.031 kB / 0.9032 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.2564, allocations: 11.88 kB / 0.9032 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.31e-05/0.2565, allocations: 167 kB / 0.9034 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.2566, allocations: 0 / 0.9034 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.2566, allocations: 0 / 0.9034 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.24e-05/0.2567, allocations: 33.7 kB / 0.9034 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.2567, allocations: 0 / 0.9034 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.2567, allocations: 4 kB / 0.9034 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2567, allocations: 0 / 0.9034 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.505e-05/0.2567, allocations: 7.938 kB / 0.9035 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.2569, allocations: 157.6 kB / 0.9036 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.1e-05/0.2569, allocations: 18.61 kB / 0.9036 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.2569, allocations: 8.922 kB / 0.9036 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.257, allocations: 3.984 kB / 0.9036 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.257, allocations: 38.56 kB / 0.9037 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.257, allocations: 0 / 0.9037 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001263/0.2571, allocations: 41.64 kB / 0.9037 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.2572, allocations: 51.41 kB / 0.9038 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.823e-05/0.2572, allocations: 97.84 kB / 0.9039 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.595e-06/0.2572, allocations: 29.7 kB / 0.9039 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.696e-05/0.2573, allocations: 80.14 kB / 0.904 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.2573, allocations: 12.09 kB / 0.904 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.2573, allocations: 0 / 0.904 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.926e-05/0.2574, allocations: 310.8 kB / 0.9043 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.2574, allocations: 8 kB / 0.9043 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-06/0.2574, allocations: 0 / 0.9043 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.564e-05/0.2574, allocations: 7.953 kB / 0.9043 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2574, allocations: 0 / 0.9043 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.065e-05/0.2575, allocations: 45.62 kB / 0.9043 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.2575, allocations: 4.094 kB / 0.9043 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2575, allocations: 4 kB / 0.9043 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2575, allocations: 4 kB / 0.9043 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.2577, allocations: 7.984 kB / 0.9043 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002514/0.2579, allocations: 0.5859 MB / 0.9049 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.897e-05/0.258, allocations: 3.953 kB / 0.9049 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.258, allocations: 0 / 0.9049 GB, free: 60.02 MB / 0.6042 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 6.276e-05/0.2581, allocations: 110.5 kB / 0.905 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-06/0.2581, allocations: 7.969 kB / 0.905 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.207e-05/0.2582, allocations: 48.75 kB / 0.9051 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2582, allocations: 0 / 0.9051 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2582, allocations: 0 / 0.9051 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2582, allocations: 0 / 0.9051 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.5e-05/0.2583, allocations: 157.6 kB / 0.9052 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2583, allocations: 3.938 kB / 0.9052 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.2583, allocations: 12 kB / 0.9052 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2583, allocations: 4.031 kB / 0.9052 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.2584, allocations: 0 / 0.9052 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001869/0.2586, allocations: 0.586 MB / 0.9058 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2586, allocations: 7.922 kB / 0.9058 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.13e-05/0.2586, allocations: 69.3 kB / 0.9059 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.2586, allocations: 85 kB / 0.906 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.2587, allocations: 0 / 0.906 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.335e-05/0.2587, allocations: 0 / 0.906 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.2587, allocations: 3.953 kB / 0.906 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.2587, allocations: 4 kB / 0.906 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.69e-05/0.2587, allocations: 79.28 kB / 0.9061 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2587, allocations: 0 / 0.9061 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002028/0.2589, allocations: 12 kB / 0.9061 GB, free: 58.71 MB / 0.6042 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.0001479/0.2591, allocations: 111.4 kB / 0.9062 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.2593, allocations: 19.92 kB / 0.9062 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2593, allocations: 0 / 0.9062 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.708e-05/0.2594, allocations: 15.98 kB / 0.9062 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.2595, allocations: 6.031 kB / 0.9062 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.2598, allocations: 137 kB / 0.9063 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.2599, allocations: 0.677 MB / 0.907 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.132e-05/0.26, allocations: 7.438 kB / 0.907 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of SimCode: time 5.31e-07/0.26, allocations: 0 / 0.907 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.002033/0.262, allocations: 0.6847 MB / 0.9077 GB, free: 56.99 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)