Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.617/2.617, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001639/0.001639, allocations: 184.8 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001144/0.001143, allocations: 97.59 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.08e-05/3.081e-05, allocations: 8 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7913/0.7914, allocations: 115.3 MB / 0.9634 GB, free: 78.63 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2346/1.026, allocations: 138.8 MB / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/1.026, allocations: 82.53 kB / 1.099 GB, free: 1.574 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02846/1.055, allocations: 5.299 MB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.803e-06/1.055, allocations: 0 / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.106e-06/1.055, allocations: 0 / 1.104 GB, free: 12.34 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.0004757/1.055, allocations: 358.4 kB / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.056, allocations: 8.031 kB / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/1.056, allocations: 7.953 kB / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/1.056, allocations: 171 kB / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/1.056, allocations: 0 / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/1.056, allocations: 0 / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.727e-05/1.056, allocations: 16 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.849e-05/1.056, allocations: 37.62 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/1.056, allocations: 0 / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/1.056, allocations: 0 / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/1.056, allocations: 4 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/1.056, allocations: 229.5 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/1.057, allocations: 42.7 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/1.057, allocations: 20.94 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/1.057, allocations: 3.938 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/1.057, allocations: 30.56 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.734e-06/1.057, allocations: 0 / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001909/1.057, allocations: 49.67 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/1.057, allocations: 59.41 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.16e-05/1.057, allocations: 100.9 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/1.057, allocations: 25.7 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/1.057, allocations: 88.05 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/1.057, allocations: 3.906 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/1.057, allocations: 0 / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001174/1.057, allocations: 318.8 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/1.057, allocations: 4 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.431e-05/1.058, allocations: 25.72 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.458e-05/1.058, allocations: 5.312 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.058, allocations: 0 / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001287/1.058, allocations: 57.53 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/1.058, allocations: 8.938 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/1.058, allocations: 0 / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/1.058, allocations: 0 / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.498e-05/1.058, allocations: 14.92 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.351e-06/1.058, allocations: 4.031 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.955e-05/1.058, allocations: 0 / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/1.058, allocations: 7.953 kB / 1.106 GB, free: 10.47 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 8.473e-05/1.058, allocations: 104.8 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001226/1.058, allocations: 49.62 kB / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/1.058, allocations: 4 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/1.058, allocations: 61.09 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/1.058, allocations: 0 / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/1.059, allocations: 15.94 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.059, allocations: 0 / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/1.059, allocations: 134.2 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/1.059, allocations: 0 / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.468e-05/1.059, allocations: 7.984 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/1.059, allocations: 0 / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/1.059, allocations: 4 kB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/1.059, allocations: 3.938 kB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.059, allocations: 3.938 kB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/1.059, allocations: 147.5 kB / 1.106 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/1.059, allocations: 77.11 kB / 1.106 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/1.059, allocations: 0 / 1.106 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.848e-05/1.059, allocations: 0 / 1.106 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/1.059, allocations: 3.984 kB / 1.106 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/1.059, allocations: 4 kB / 1.106 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.264e-05/1.059, allocations: 79.66 kB / 1.106 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.51e-07/1.059, allocations: 0 / 1.106 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003891/1.06, allocations: 24 kB / 1.107 GB, free: 9.672 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.000634/1.06, allocations: 0.7205 MB / 1.107 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001176/1.061, allocations: 16 kB / 1.107 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.061, allocations: 0 / 1.107 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.84e-05/1.061, allocations: 11.94 kB / 1.107 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/1.061, allocations: 9.766 kB / 1.107 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/1.061, allocations: 105 kB / 1.107 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/1.062, allocations: 0.6806 MB / 1.108 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.303e-05/1.062, allocations: 7.703 kB / 1.108 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/1.062, allocations: 7.438 kB / 1.108 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/1.062, allocations: 0 / 1.108 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03806/1.1, allocations: 0.8684 MB / 1.109 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003237/1.1, allocations: 166.1 kB / 1.109 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/3.382, allocations: 4 kB / 1.109 GB, free: 7.008 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)