Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5848/0.5848, allocations: 94.7 MB / 107.3 MB, free: 5.176 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001138/0.001138, allocations: 166 kB / 130.7 MB, free: 7.555 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.517/1.517, allocations: 170.5 MB / 324.5 MB, free: 4.012 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001739/0.001739, allocations: 111.4 kB / 386.6 MB, free: 16.3 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.652e-05/3.656e-05, allocations: 4 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4547, allocations: 61.5 MB / 0.5054 GB, free: 49.7 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1628/0.6176, allocations: 94.64 MB / 0.5978 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.6179, allocations: 79.95 kB / 0.5979 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01296/0.6309, allocations: 4.077 MB / 0.6019 GB, free: 12.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.631, allocations: 0 / 0.6019 GB, free: 12.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.631, allocations: 0 / 0.6019 GB, free: 12.88 MB / 426.7 MB 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.0003935/0.6314, allocations: 375.4 kB / 0.6022 GB, free: 12.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.6314, allocations: 8.031 kB / 0.6022 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.6315, allocations: 8.172 kB / 0.6022 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.6316, allocations: 164.1 kB / 0.6024 GB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.6316, allocations: 0 / 0.6024 GB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.6316, allocations: 4.906 kB / 0.6024 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.6319, allocations: 61.61 kB / 0.6025 GB, free: 12.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.6319, allocations: 4 kB / 0.6025 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.406e-05/0.632, allocations: 0 / 0.6025 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.632, allocations: 0 / 0.6025 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.6322, allocations: 24.73 kB / 0.6025 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.6325, allocations: 256.9 kB / 0.6027 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003192/0.6329, allocations: 58.61 kB / 0.6028 GB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.749e-05/0.6329, allocations: 22.03 kB / 0.6028 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005342/0.6335, allocations: 388.4 kB / 0.6032 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.6335, allocations: 30.56 kB / 0.6032 GB, free: 11.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.6335, allocations: 0 / 0.6032 GB, free: 11.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003818/0.6339, allocations: 73.66 kB / 0.6033 GB, free: 11.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.634, allocations: 55.41 kB / 0.6033 GB, free: 11.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.109e-05/0.634, allocations: 91.58 kB / 0.6034 GB, free: 11.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.6341, allocations: 25.7 kB / 0.6034 GB, free: 11.01 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.6341, allocations: 80.14 kB / 0.6035 GB, free: 10.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.6341, allocations: 27.73 kB / 0.6035 GB, free: 10.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.6342, allocations: 0 / 0.6035 GB, free: 10.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6343, allocations: 314.8 kB / 0.6038 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.603e-05/0.6343, allocations: 12 kB / 0.6039 GB, free: 10.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.818e-05/0.6344, allocations: 24.34 kB / 0.6039 GB, free: 10.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.514e-05/0.6344, allocations: 11.98 kB / 0.6039 GB, free: 10.53 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6344, allocations: 3.938 kB / 0.6039 GB, free: 10.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.479e-05/0.6345, allocations: 64.31 kB / 0.604 GB, free: 10.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.6346, allocations: 4 kB / 0.604 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.6346, allocations: 0 / 0.604 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.6346, allocations: 0 / 0.604 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.308e-05/0.6347, allocations: 11.94 kB / 0.604 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.6347, allocations: 0 / 0.604 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/0.6347, allocations: 8 kB / 0.604 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.6347, allocations: 0 / 0.604 GB, free: 10.44 MB / 426.7 MB 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 7.098e-05/0.6348, allocations: 112.7 kB / 0.6041 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.6348, allocations: 4.031 kB / 0.6041 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.635, allocations: 61.17 kB / 0.6041 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.635, allocations: 4 kB / 0.6041 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.635, allocations: 3.938 kB / 0.6042 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.635, allocations: 0 / 0.6042 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.6352, allocations: 157.6 kB / 0.6043 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.6352, allocations: 4 kB / 0.6043 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.6353, allocations: 11.98 kB / 0.6043 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.6353, allocations: 0 / 0.6043 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.6353, allocations: 6.75 kB / 0.6043 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.6353, allocations: 4 kB / 0.6043 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6353, allocations: 2.891 kB / 0.6043 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.6354, allocations: 149.8 kB / 0.6045 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.6355, allocations: 77.11 kB / 0.6045 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.6355, allocations: 4 kB / 0.6046 GB, free: 9.754 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.645e-05/0.6356, allocations: 8 kB / 0.6046 GB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.6356, allocations: 0 / 0.6046 GB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.6356, allocations: 3.984 kB / 0.6046 GB, free: 9.742 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.486e-05/0.6356, allocations: 83.22 kB / 0.6046 GB, free: 9.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6357, allocations: 0 / 0.6046 GB, free: 9.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003862/0.636, allocations: 77.62 kB / 0.6047 GB, free: 9.586 MB / 426.7 MB 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.0003171/0.6364, allocations: 183 kB / 0.6049 GB, free: 9.398 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.966e-05/0.6365, allocations: 28 kB / 0.6049 GB, free: 9.371 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6365, allocations: 0 / 0.6049 GB, free: 9.371 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.501e-05/0.6365, allocations: 15.94 kB / 0.6049 GB, free: 9.355 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.6367, allocations: 7.328 kB / 0.6049 GB, free: 9.352 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002576/0.6369, allocations: 66.02 kB / 0.605 GB, free: 9.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.6373, allocations: 0.6809 MB / 0.6057 GB, free: 8.562 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.783e-05/0.6374, allocations: 11.56 kB / 0.6057 GB, free: 8.555 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.6374, allocations: 11.44 kB / 0.6057 GB, free: 8.547 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.6374, allocations: 0 / 0.6057 GB, free: 8.547 MB / 426.7 MB Notification: Performance of Templates: time 0.003602/0.641, allocations: 1.143 MB / 0.6068 GB, free: 7.449 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.makefile (rm -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.pipe >> ../files/Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.sim & ./Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.pipe 2>&1)