Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.647/1.647, allocations: 285.4 MB / 298 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 180.8 kB / 366.4 MB, free: 2.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.1 MB / 0.6248 GB, free: 7.719 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008683/0.0008684, allocations: 91.3 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.34e-05/3.353e-05, allocations: 4 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7076/0.7077, allocations: 115.3 MB / 0.971 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1875/0.8952, allocations: 139.6 MB / 1.107 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.8956, allocations: 78.02 kB / 1.107 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0162/0.9118, allocations: 5.329 MB / 1.113 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.355e-06/0.9118, allocations: 0 / 1.113 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.9119, allocations: 0 / 1.113 GB, free: 6.824 MB / 0.7136 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.0004213/0.9123, allocations: 360 kB / 1.113 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.9124, allocations: 12.03 kB / 1.113 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.9124, allocations: 34.56 kB / 1.113 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.9124, allocations: 3.953 kB / 1.113 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.9126, allocations: 171 kB / 1.113 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.9126, allocations: 3.938 kB / 1.113 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.9126, allocations: 0 / 1.113 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.9127, allocations: 37.7 kB / 1.113 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.9127, allocations: 0 / 1.113 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.9127, allocations: 0 / 1.113 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.9128, allocations: 10.19 kB / 1.113 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.827e-05/0.9128, allocations: 19.98 kB / 1.113 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.9132, allocations: 255 kB / 1.113 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.9134, allocations: 46.56 kB / 1.114 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.299e-05/0.9134, allocations: 20.84 kB / 1.114 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.9135, allocations: 4 kB / 1.114 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.9135, allocations: 38.56 kB / 1.114 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.9135, allocations: 0 / 1.114 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001509/0.9137, allocations: 45.78 kB / 1.114 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.9137, allocations: 55.36 kB / 1.114 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.9138, allocations: 92.94 kB / 1.114 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.9138, allocations: 29.64 kB / 1.114 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.9139, allocations: 84.05 kB / 1.114 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.151e-05/0.9139, allocations: 19.89 kB / 1.114 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.9139, allocations: 0 / 1.114 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.914, allocations: 310.8 kB / 1.114 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.003e-05/0.914, allocations: 8 kB / 1.114 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.98e-05/0.9141, allocations: 21.72 kB / 1.114 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.451e-05/0.9141, allocations: 4 kB / 1.114 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.9141, allocations: 3.984 kB / 1.114 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.646e-05/0.9142, allocations: 61.55 kB / 1.114 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.9142, allocations: 9.234 kB / 1.114 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.9142, allocations: 4 kB / 1.114 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.9143, allocations: 0 / 1.114 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.604e-05/0.9143, allocations: 8.938 kB / 1.114 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.9143, allocations: 0 / 1.114 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.9144, allocations: 7.953 kB / 1.114 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.9144, allocations: 4 kB / 1.114 GB, free: 4.855 MB / 0.7136 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 () * 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.941e-05/0.9145, allocations: 101 kB / 1.114 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.9145, allocations: 4.031 kB / 1.114 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.9146, allocations: 66.7 kB / 1.114 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.9147, allocations: 0 / 1.114 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.9147, allocations: 0 / 1.114 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.9147, allocations: 4 kB / 1.114 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.9148, allocations: 162.8 kB / 1.115 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.9149, allocations: 0 / 1.115 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.227e-05/0.9149, allocations: 7.938 kB / 1.115 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.9149, allocations: 4 kB / 1.115 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.9149, allocations: 0 / 1.115 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.9149, allocations: 4 kB / 1.115 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.9149, allocations: 0 / 1.115 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.9151, allocations: 159.7 kB / 1.115 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.9151, allocations: 77.11 kB / 1.115 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.9151, allocations: 2.438 kB / 1.115 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.699e-05/0.9152, allocations: 4 kB / 1.115 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.9152, allocations: 4.031 kB / 1.115 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.9152, allocations: 11.09 kB / 1.115 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.461e-05/0.9153, allocations: 79.28 kB / 1.115 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9153, allocations: 0 / 1.115 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002473/0.9155, allocations: 27.98 kB / 1.115 GB, free: 4.059 MB / 0.7136 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 () * 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.0004711/0.916, allocations: 0.7045 MB / 1.116 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.66e-05/0.9161, allocations: 27.98 kB / 1.116 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.9161, allocations: 0 / 1.116 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.842e-05/0.9161, allocations: 12 kB / 1.116 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.9163, allocations: 4 kB / 1.116 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/0.9166, allocations: 108.9 kB / 1.116 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.9169, allocations: 0.677 MB / 1.116 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.509e-05/0.9169, allocations: 8.062 kB / 1.117 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.917, allocations: 15.42 kB / 1.117 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.917, allocations: 3.938 kB / 1.117 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01265/0.9296, allocations: 1.177 MB / 1.118 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.9299, allocations: 186.5 kB / 1.118 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.52, allocations: 0 / 1.118 GB, free: 1.203 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)