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.451/1.451, allocations: 249.5 MB / 257 MB, free: 6.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 187.6 kB / 316.3 MB, free: 3.195 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.722/1.722, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0008082/0.0008082, allocations: 90.47 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.243e-05/2.266e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2189, allocations: 106.3 MB / 0.8853 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7956/1.015, allocations: 133.6 MB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/1.015, allocations: 86.33 kB / 1.016 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01566/1.031, allocations: 5.299 MB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.643e-06/1.031, allocations: 0 / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.875e-06/1.031, allocations: 0 / 1.021 GB, free: 15.37 MB / 0.6511 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.0003939/1.031, allocations: 365.8 kB / 1.021 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/1.031, allocations: 8.031 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/1.031, allocations: 3.953 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/1.031, allocations: 163.1 kB / 1.022 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/1.031, allocations: 0 / 1.022 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/1.031, allocations: 0 / 1.022 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.195e-05/1.031, allocations: 19.17 kB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.251e-05/1.031, allocations: 32.33 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/1.031, allocations: 0 / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/1.031, allocations: 0 / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/1.032, allocations: 8 kB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/1.032, allocations: 228.5 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/1.032, allocations: 46 kB / 1.022 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/1.032, allocations: 16.48 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/1.032, allocations: 3.984 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/1.032, allocations: 38.56 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 2.786e-06/1.032, allocations: 3.984 kB / 1.022 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0001438/1.032, allocations: 49.22 kB / 1.022 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/1.032, allocations: 59.34 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/1.032, allocations: 91.52 kB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/1.032, allocations: 25.7 kB / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/1.032, allocations: 92.06 kB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.207e-05/1.032, allocations: 11.56 kB / 1.022 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/1.033, allocations: 4 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.033, allocations: 314.8 kB / 1.023 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.811e-05/1.033, allocations: 7.125 kB / 1.023 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.937e-05/1.033, allocations: 20.41 kB / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.22e-05/1.033, allocations: 7.984 kB / 1.023 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.033, allocations: 0 / 1.023 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.05e-05/1.033, allocations: 55.81 kB / 1.023 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/1.033, allocations: 8.031 kB / 1.023 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/1.033, allocations: 4 kB / 1.023 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/1.033, allocations: 0 / 1.023 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.502e-05/1.033, allocations: 8 kB / 1.023 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/1.033, allocations: 0 / 1.023 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.249e-05/1.033, allocations: 7.844 kB / 1.023 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/1.033, allocations: 7.953 kB / 1.023 GB, free: 13.54 MB / 0.6511 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.998e-05/1.033, allocations: 107.5 kB / 1.023 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.424e-05/1.033, allocations: 45.14 kB / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/1.033, allocations: 8 kB / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/1.033, allocations: 60.03 kB / 1.023 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/1.033, allocations: 0 / 1.023 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/1.033, allocations: 3.953 kB / 1.023 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/1.033, allocations: 4 kB / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/1.033, allocations: 137.2 kB / 1.023 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/1.033, allocations: 0 / 1.023 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.379e-05/1.034, allocations: 4 kB / 1.023 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/1.034, allocations: 0 / 1.023 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/1.034, allocations: 4 kB / 1.023 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/1.034, allocations: 4 kB / 1.023 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.034, allocations: 0 / 1.023 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/1.034, allocations: 149.7 kB / 1.023 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/1.034, allocations: 85.09 kB / 1.023 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/1.034, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.318e-05/1.034, allocations: 432 / 1.023 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.115e-05/1.034, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/1.034, allocations: 4 kB / 1.023 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.34e-05/1.034, allocations: 86.58 kB / 1.023 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.034, allocations: 0 / 1.023 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002713/1.034, allocations: 27.92 kB / 1.023 GB, free: 12.75 MB / 0.6511 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.0004339/1.035, allocations: 0.6988 MB / 1.024 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.005e-05/1.035, allocations: 23.25 kB / 1.024 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.035, allocations: 0 / 1.024 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.741e-05/1.035, allocations: 15.05 kB / 1.024 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/1.035, allocations: 0 / 1.024 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/1.035, allocations: 104.7 kB / 1.024 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/1.036, allocations: 0.6768 MB / 1.025 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.916e-05/1.036, allocations: 12 kB / 1.025 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/1.036, allocations: 10.75 kB / 1.025 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/1.036, allocations: 4 kB / 1.025 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/1.055, allocations: 0.8778 MB / 1.026 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/1.056, allocations: 174.5 kB / 1.026 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.465/2.521, allocations: 0 / 1.026 GB, free: 10.08 MB / 0.6511 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)