Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.496/1.496, allocations: 251.9 MB / 266.9 MB, free: 11 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.001134/0.001134, allocations: 180.7 kB / 326.5 MB, free: 2.211 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.919/1.919, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.001035/0.001035, allocations: 100.4 kB / 0.6821 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003707, allocations: 11.22 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2618, allocations: 106.3 MB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001586/0.2635, allocations: 1.008 MB / 0.9011 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007939/0.2643, allocations: 0.5242 MB / 0.9016 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.094e-05/0.2643, allocations: 0 / 0.9016 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.2643, allocations: 0 / 0.9016 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.569e-05/0.2644, allocations: 11.98 kB / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.2648, allocations: 117.5 kB / 0.9018 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.825e-05/0.2649, allocations: 11.98 kB / 0.9018 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.2649, allocations: 7.984 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.17e-05/0.265, allocations: 4 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.83e-05/0.265, allocations: 11.92 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.2651, allocations: 0 / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004249/0.2655, allocations: 359.4 kB / 0.9021 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.2655, allocations: 8 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.2655, allocations: 33.64 kB / 0.9022 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.2658, allocations: 88.12 kB / 0.9023 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2658, allocations: 0 / 0.9023 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2658, allocations: 0 / 0.9023 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.2658, allocations: 0 / 0.9023 GB, free: 61.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004675/0.2663, allocations: 363.2 kB / 0.9026 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.2663, allocations: 8.031 kB / 0.9026 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.2664, allocations: 30.56 kB / 0.9027 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.2664, allocations: 8 kB / 0.9027 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.2665, allocations: 167 kB / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.2666, allocations: 4 kB / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.2666, allocations: 4 kB / 0.9028 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.2667, allocations: 37.64 kB / 0.9029 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.2667, allocations: 3.938 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2667, allocations: 3.984 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.2668, allocations: 4 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.442e-05/0.2668, allocations: 12 kB / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.2672, allocations: 260.8 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.2674, allocations: 46.69 kB / 0.9032 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.2675, allocations: 0 / 0.9032 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.2675, allocations: 42.56 kB / 0.9032 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2675, allocations: 0 / 0.9032 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001944/0.2677, allocations: 57.69 kB / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.2678, allocations: 55.41 kB / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.259e-05/0.2678, allocations: 93.86 kB / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.2678, allocations: 29.7 kB / 0.9034 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.2679, allocations: 80.14 kB / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.2679, allocations: 19.73 kB / 0.9035 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.2679, allocations: 0 / 0.9035 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.268, allocations: 318.8 kB / 0.9038 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.89e-05/0.268, allocations: 4 kB / 0.9038 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.077e-05/0.2681, allocations: 29.64 kB / 0.9039 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.144e-05/0.2681, allocations: 12 kB / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2681, allocations: 0 / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.135e-05/0.2682, allocations: 49.69 kB / 0.9039 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2682, allocations: 11.94 kB / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2682, allocations: 0 / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2683, allocations: 0 / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.452e-05/0.2683, allocations: 16.06 kB / 0.904 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2683, allocations: 4.031 kB / 0.904 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.059e-05/0.2684, allocations: 7.906 kB / 0.904 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.2684, allocations: 4 kB / 0.904 GB, free: 59.63 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.634e-05/0.2685, allocations: 114.3 kB / 0.9041 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.2685, allocations: 4 kB / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.2687, allocations: 53.19 kB / 0.9041 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2687, allocations: 4 kB / 0.9041 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2687, allocations: 4 kB / 0.9041 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2687, allocations: 3.938 kB / 0.9042 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.2689, allocations: 157.6 kB / 0.9043 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2689, allocations: 0 / 0.9043 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.2689, allocations: 15.98 kB / 0.9043 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2689, allocations: 0 / 0.9043 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.269, allocations: 0 / 0.9043 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.269, allocations: 0 / 0.9043 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.269, allocations: 3.938 kB / 0.9043 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.2691, allocations: 155.4 kB / 0.9045 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/0.2691, allocations: 77.11 kB / 0.9045 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.2691, allocations: 4 kB / 0.9045 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.037e-05/0.2692, allocations: 0 / 0.9045 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.2692, allocations: 0.5156 kB / 0.9045 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.2692, allocations: 3.984 kB / 0.9046 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.405e-05/0.2693, allocations: 83.27 kB / 0.9046 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2693, allocations: 3.938 kB / 0.9046 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003014/0.2696, allocations: 23.94 kB / 0.9047 GB, free: 58.83 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003889/0.27, allocations: 0.7028 MB / 0.9053 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.313e-05/0.2701, allocations: 27.92 kB / 0.9054 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2701, allocations: 0 / 0.9054 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.925e-05/0.2701, allocations: 12 kB / 0.9054 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.2703, allocations: 6.984 kB / 0.9054 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.2707, allocations: 170.2 kB / 0.9055 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.2709, allocations: 0.6809 MB / 0.9062 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.994e-05/0.2709, allocations: 3.984 kB / 0.9062 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.271, allocations: 15.44 kB / 0.9062 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.271, allocations: 4 kB / 0.9062 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01094/0.2819, allocations: 1.183 MB / 0.9074 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/0.2822, allocations: 219.1 kB / 0.9076 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/1.846, allocations: 4.625 kB / 0.9076 GB, free: 55.86 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)