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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5786/0.5786, allocations: 95.58 MB / 366 MB, free: 10.42 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006029/0.000603, allocations: 20 kB / 446.8 MB, free: 9.422 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3131, allocations: 70.34 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction): time 0.00105/0.3142, allocations: 0.9668 MB / 0.506 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007403/0.315, allocations: 0.5964 MB / 0.5065 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.315, allocations: 4 kB / 0.5065 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.301e-05/0.315, allocations: 0 / 0.5065 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.401e-05/0.3151, allocations: 3.984 kB / 0.5065 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.3155, allocations: 155.6 kB / 0.5067 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.484e-05/0.3156, allocations: 15.97 kB / 0.5067 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.3156, allocations: 3.984 kB / 0.5067 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.103e-05/0.3156, allocations: 7.938 kB / 0.5067 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.874e-05/0.3157, allocations: 8 kB / 0.5067 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.3157, allocations: 4 kB / 0.5067 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.316, allocations: 263.6 kB / 0.507 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.045e-06/0.316, allocations: 0 / 0.507 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.904e-05/0.3161, allocations: 29.7 kB / 0.507 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.3163, allocations: 137.7 kB / 0.5071 GB, free: 14.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.3163, allocations: 0 / 0.5071 GB, free: 14.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3163, allocations: 0 / 0.5071 GB, free: 14.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.3163, allocations: 0 / 0.5071 GB, free: 14.32 MB / 382.1 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.0003399/0.3166, allocations: 371.2 kB / 0.5075 GB, free: 13.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3167, allocations: 15.98 kB / 0.5075 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.3167, allocations: 7.938 kB / 0.5075 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.266e-05/0.3168, allocations: 167 kB / 0.5077 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3168, allocations: 4 kB / 0.5077 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-06/0.3168, allocations: 0 / 0.5077 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.3171, allocations: 57.61 kB / 0.5077 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3171, allocations: 0 / 0.5077 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3172, allocations: 0 / 0.5077 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3172, allocations: 0 / 0.5077 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.3173, allocations: 31.97 kB / 0.5078 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.3176, allocations: 264.8 kB / 0.508 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.3179, allocations: 58.55 kB / 0.5081 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004459/0.3184, allocations: 400.4 kB / 0.5085 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.337e-05/0.3184, allocations: 30.56 kB / 0.5085 GB, free: 12.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.3184, allocations: 4 kB / 0.5085 GB, free: 12.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003914/0.3188, allocations: 85.83 kB / 0.5086 GB, free: 12.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.3189, allocations: 51.41 kB / 0.5086 GB, free: 12.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.232e-05/0.3189, allocations: 97.84 kB / 0.5087 GB, free: 12.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.319, allocations: 29.7 kB / 0.5087 GB, free: 12.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.319, allocations: 92 kB / 0.5088 GB, free: 12.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.105e-05/0.319, allocations: 15.75 kB / 0.5088 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-06/0.319, allocations: 0 / 0.5088 GB, free: 12.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.038e-05/0.3191, allocations: 322.8 kB / 0.5092 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.3191, allocations: 4 kB / 0.5092 GB, free: 11.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.662e-05/0.3192, allocations: 25.7 kB / 0.5092 GB, free: 11.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.558e-05/0.3192, allocations: 8 kB / 0.5092 GB, free: 11.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3192, allocations: 0 / 0.5092 GB, free: 11.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.957e-05/0.3193, allocations: 57.62 kB / 0.5092 GB, free: 11.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3193, allocations: 4 kB / 0.5092 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3193, allocations: 4 kB / 0.5092 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3193, allocations: 4.031 kB / 0.5093 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.403e-05/0.3194, allocations: 8 kB / 0.5093 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3194, allocations: 3.984 kB / 0.5093 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.022e-05/0.3194, allocations: 12.03 kB / 0.5093 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.3195, allocations: 4 kB / 0.5093 GB, free: 11.83 MB / 382.1 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.47e-05/0.3195, allocations: 109.8 kB / 0.5094 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.3195, allocations: 4 kB / 0.5094 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.3197, allocations: 73.11 kB / 0.5095 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3197, allocations: 0 / 0.5095 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.3197, allocations: 0 / 0.5095 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3197, allocations: 0 / 0.5095 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.3198, allocations: 161.6 kB / 0.5096 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3198, allocations: 0 / 0.5096 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.3199, allocations: 11.94 kB / 0.5096 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3199, allocations: 0 / 0.5096 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3199, allocations: 4 kB / 0.5096 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3199, allocations: 0 / 0.5096 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3199, allocations: 0 / 0.5096 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.976e-05/0.32, allocations: 147.5 kB / 0.5098 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.32, allocations: 96.89 kB / 0.5099 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.3201, allocations: 0 / 0.5099 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.297e-05/0.3201, allocations: 0 / 0.5099 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.3201, allocations: 0 / 0.5099 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.3201, allocations: 8 kB / 0.5099 GB, free: 11.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.952e-05/0.3202, allocations: 79.28 kB / 0.5099 GB, free: 11.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3202, allocations: 3.938 kB / 0.5099 GB, free: 11.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000298/0.3205, allocations: 59.98 kB / 0.51 GB, free: 10.98 MB / 382.1 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 () * 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 (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.0002177/0.3207, allocations: 163.2 kB / 0.5102 GB, free: 10.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001038/0.3208, allocations: 24.45 kB / 0.5102 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3208, allocations: 0 / 0.5102 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.926e-05/0.3208, allocations: 16 kB / 0.5102 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.321, allocations: 7.984 kB / 0.5102 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002212/0.3212, allocations: 128.6 kB / 0.5103 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.3213, allocations: 0.6811 MB / 0.511 GB, free: 9.906 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.636e-05/0.3214, allocations: 8 kB / 0.511 GB, free: 9.898 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.3214, allocations: 7.438 kB / 0.511 GB, free: 9.891 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3214, allocations: 4 kB / 0.511 GB, free: 9.887 MB / 382.1 MB Notification: Performance of Templates: time 0.002971/0.3244, allocations: 1.264 MB / 0.5122 GB, free: 8.621 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: