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.492/1.492, allocations: 252 MB / 267.3 MB, free: 10.83 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.0009784/0.0009784, allocations: 180.4 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.719/2.719, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.00104/0.00104, allocations: 97.58 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007911/0.0007912, allocations: 10.66 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4563/0.4571, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002913/0.4601, allocations: 1.025 MB / 0.9019 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001873/0.4621, allocations: 0.5918 MB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.471e-05/0.4621, allocations: 0 / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.607e-05/0.4622, allocations: 0 / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.4623, allocations: 3.938 kB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.4634, allocations: 123.5 kB / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.38e-05/0.4635, allocations: 19.94 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.03e-05/0.4636, allocations: 7.984 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.651e-05/0.4636, allocations: 7.938 kB / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.4638, allocations: 8 kB / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.4638, allocations: 3.938 kB / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009695/0.4648, allocations: 343.4 kB / 0.903 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.896e-05/0.4648, allocations: 7.922 kB / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.615e-05/0.4649, allocations: 29.7 kB / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004786/0.4654, allocations: 147.9 kB / 0.9032 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.4654, allocations: 0 / 0.9032 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.197e-06/0.4654, allocations: 0 / 0.9032 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.4655, allocations: 4 kB / 0.9032 GB, free: 61.07 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.000838/0.4663, allocations: 363.4 kB / 0.9035 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.895e-05/0.4664, allocations: 8.031 kB / 0.9035 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.42e-05/0.4665, allocations: 34.75 kB / 0.9036 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.4666, allocations: 4.938 kB / 0.9036 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.4667, allocations: 164.3 kB / 0.9037 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.4668, allocations: 8.359 kB / 0.9037 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.4668, allocations: 4.375 kB / 0.9037 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.467, allocations: 38.27 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.4671, allocations: 3.938 kB / 0.9038 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.4671, allocations: 4 kB / 0.9038 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.4671, allocations: 0 / 0.9038 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.283e-05/0.4672, allocations: 15.98 kB / 0.9038 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005837/0.4678, allocations: 248.8 kB / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000431/0.4683, allocations: 54.56 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.945e-05/0.4684, allocations: 24.84 kB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-05/0.4684, allocations: 0 / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.4685, allocations: 30.56 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 2.325e-06/0.4685, allocations: 0 / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003287/0.4688, allocations: 61.62 kB / 0.9042 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.4689, allocations: 51.41 kB / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.469, allocations: 101.8 kB / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.4691, allocations: 29.7 kB / 0.9044 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.007e-05/0.4691, allocations: 80.14 kB / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.4692, allocations: 19.75 kB / 0.9045 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/0.4692, allocations: 4 kB / 0.9045 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.4693, allocations: 310.8 kB / 0.9048 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.701e-05/0.4694, allocations: 7.984 kB / 0.9048 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.259e-05/0.4694, allocations: 21.72 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.678e-05/0.4695, allocations: 38.03 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.4696, allocations: 7.875 kB / 0.9048 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000162/0.4697, allocations: 53.67 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.4698, allocations: 4 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.4698, allocations: 4 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.957e-05/0.4699, allocations: 3.984 kB / 0.9049 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.476e-05/0.47, allocations: 11.94 kB / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.47, allocations: 0 / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.497e-05/0.4701, allocations: 11.84 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.4701, allocations: 8.031 kB / 0.9049 GB, free: 59.03 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.4702, allocations: 109.8 kB / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.4703, allocations: 0 / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.4705, allocations: 65.16 kB / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4706, allocations: 0 / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.4706, allocations: 4 kB / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.4706, allocations: 0 / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.4709, allocations: 157.6 kB / 0.9053 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4709, allocations: 4 kB / 0.9053 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.301e-05/0.471, allocations: 15.94 kB / 0.9053 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.471, allocations: 0 / 0.9053 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.471, allocations: 4.125 kB / 0.9053 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.471, allocations: 0 / 0.9053 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.471, allocations: 0 / 0.9053 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.4713, allocations: 151.4 kB / 0.9054 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.906e-05/0.4713, allocations: 81.09 kB / 0.9055 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.4714, allocations: 4 kB / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.68e-05/0.4715, allocations: 4 kB / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.4715, allocations: 0 / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.4715, allocations: 0 / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.148e-05/0.4716, allocations: 79.28 kB / 0.9056 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4716, allocations: 0 / 0.9056 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004927/0.4721, allocations: 31.92 kB / 0.9056 GB, free: 58.23 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008051/0.4729, allocations: 0.7007 MB / 0.9063 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000182/0.4731, allocations: 23.98 kB / 0.9063 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.4732, allocations: 3.938 kB / 0.9063 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/0.4732, allocations: 12 kB / 0.9063 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.4736, allocations: 0 / 0.9063 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008447/0.4745, allocations: 182.8 kB / 0.9065 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.4748, allocations: 0.677 MB / 0.9072 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.526e-05/0.4749, allocations: 3.906 kB / 0.9072 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.475, allocations: 15.38 kB / 0.9072 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.475, allocations: 0 / 0.9072 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1383/0.6133, allocations: 1.192 MB / 0.9083 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003838/0.6138, allocations: 249 kB / 0.9086 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.799/3.413, allocations: 3.938 kB / 0.9086 GB, free: 55.23 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)