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.425/1.425, allocations: 249.3 MB / 261.8 MB, free: 5.891 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.001088/0.001088, allocations: 166.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.1 MB / 0.572 GB, free: 10.7 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.0007725/0.0007724, allocations: 78.53 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.433e-05/3.437e-05, allocations: 8 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.193, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6868/0.8799, allocations: 133.3 MB / 1.022 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.8802, allocations: 83.31 kB / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0165/0.8967, allocations: 5.327 MB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8968, allocations: 0 / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.8968, allocations: 0 / 1.027 GB, free: 12.88 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.0004552/0.8973, allocations: 361.9 kB / 1.028 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/0.8974, allocations: 12.03 kB / 1.028 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.816e-05/0.8974, allocations: 30.56 kB / 1.028 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.8974, allocations: 3.953 kB / 1.028 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.8976, allocations: 167.1 kB / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.8976, allocations: 0 / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.8976, allocations: 3.5 kB / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.8978, allocations: 41.08 kB / 1.028 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.8978, allocations: 0 / 1.028 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.8978, allocations: 4 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.8978, allocations: 7.984 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.434e-05/0.8979, allocations: 15.52 kB / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.8982, allocations: 247.5 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.8985, allocations: 45.81 kB / 1.028 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.167e-05/0.8985, allocations: 19.92 kB / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.8986, allocations: 4 kB / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.8986, allocations: 34.56 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.8986, allocations: 0 / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0001833/0.8988, allocations: 56.75 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.8988, allocations: 51.41 kB / 1.028 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.968e-05/0.8989, allocations: 96.5 kB / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.899, allocations: 25.7 kB / 1.029 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.899, allocations: 92.12 kB / 1.029 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.8991, allocations: 26.98 kB / 1.029 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.8991, allocations: 0 / 1.029 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8992, allocations: 310.8 kB / 1.029 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.247e-05/0.8992, allocations: 11.25 kB / 1.029 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.178e-05/0.8993, allocations: 17.22 kB / 1.029 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.038e-05/0.8993, allocations: 11.98 kB / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.8993, allocations: 0 / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001174/0.8994, allocations: 60.94 kB / 1.029 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.8995, allocations: 4 kB / 1.029 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.8995, allocations: 4 kB / 1.029 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.8995, allocations: 0 / 1.029 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.206e-05/0.8996, allocations: 8 kB / 1.029 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.8996, allocations: 3.953 kB / 1.029 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.8996, allocations: 3.906 kB / 1.029 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.8996, allocations: 4 kB / 1.029 GB, free: 10.96 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 8.519e-05/0.8997, allocations: 104.4 kB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.8998, allocations: 4.031 kB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.8999, allocations: 64.05 kB / 1.029 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.8999, allocations: 0 / 1.029 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.8999, allocations: 4.125 kB / 1.029 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.8999, allocations: 3.953 kB / 1.029 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.9001, allocations: 161.1 kB / 1.029 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.9001, allocations: 0 / 1.029 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.9002, allocations: 4 kB / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.9002, allocations: 4 kB / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.9002, allocations: 4 kB / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.9002, allocations: 3.984 kB / 1.029 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9002, allocations: 0 / 1.029 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.9004, allocations: 150.2 kB / 1.03 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.9004, allocations: 81.02 kB / 1.03 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.9004, allocations: 7.562 kB / 1.03 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.949e-05/0.9005, allocations: 0 / 1.03 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.9005, allocations: 0 / 1.03 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.9005, allocations: 4.375 kB / 1.03 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.093e-05/0.9006, allocations: 87.25 kB / 1.03 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.744e-06/0.9006, allocations: 0 / 1.03 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002977/0.9009, allocations: 27.5 kB / 1.03 GB, free: 10.19 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.0005698/0.9015, allocations: 0.6996 MB / 1.03 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.108e-05/0.9016, allocations: 31.36 kB / 1.03 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9016, allocations: 0 / 1.03 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.12e-05/0.9016, allocations: 11.94 kB / 1.03 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.9017, allocations: 4 kB / 1.03 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.9021, allocations: 109.5 kB / 1.031 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.9024, allocations: 0.6809 MB / 1.031 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.203e-05/0.9025, allocations: 8.672 kB / 1.031 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.9025, allocations: 11.44 kB / 1.031 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of SimCode: time 4.11e-07/0.9025, allocations: 0 / 1.031 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01075/0.9133, allocations: 1.193 MB / 1.032 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.9136, allocations: 182.4 kB / 1.033 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.484/2.397, allocations: 0 / 1.033 GB, free: 7.305 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)