Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 109.6 kB / 16.37 MB, free: 6 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.001158/0.001159, allocations: 193.4 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.813/1.813, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 67.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2468, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002629/0.2494, allocations: 1.291 MB / 0.786 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000969/0.2504, allocations: 0.5876 MB / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.368e-05/0.2505, allocations: 4 kB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.2505, allocations: 0 / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.227e-05/0.2506, allocations: 11.91 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.2511, allocations: 150.8 kB / 0.7868 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.394e-05/0.2512, allocations: 11.94 kB / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.327e-05/0.2512, allocations: 11.92 kB / 0.7868 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.641e-05/0.2512, allocations: 12 kB / 0.7868 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.2513, allocations: 11.92 kB / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.2513, allocations: 0 / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004864/0.2518, allocations: 343.3 kB / 0.7872 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.2518, allocations: 7.984 kB / 0.7872 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.2519, allocations: 11.94 kB / 0.7872 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.2521, allocations: 147.6 kB / 0.7873 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.2522, allocations: 0 / 0.7873 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2522, allocations: 0 / 0.7873 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2522, allocations: 0 / 0.7873 GB, free: 0.5859 MB / 0.6544 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.2526, allocations: 362.2 kB / 0.7877 GB, free: 188 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.2527, allocations: 8.031 kB / 0.7877 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.2527, allocations: 12.84 kB / 0.7877 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3953/0.6481, allocations: 160.4 kB / 0.7878 GB, free: 49.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.6481, allocations: 384 / 0.7878 GB, free: 49.36 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.6482, allocations: 1.25 kB / 0.7878 GB, free: 49.36 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.6483, allocations: 45.8 kB / 0.7879 GB, free: 49.33 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.6483, allocations: 0.9375 kB / 0.7879 GB, free: 49.33 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.6483, allocations: 0.5 kB / 0.7879 GB, free: 49.33 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.6484, allocations: 1.656 kB / 0.7879 GB, free: 49.33 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.875e-05/0.6484, allocations: 18.58 kB / 0.7879 GB, free: 49.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.6488, allocations: 249.5 kB / 0.7881 GB, free: 49.06 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.649, allocations: 54 kB / 0.7882 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.073e-05/0.649, allocations: 22.48 kB / 0.7882 GB, free: 49.03 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.6491, allocations: 0 / 0.7882 GB, free: 49.03 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.6491, allocations: 37.12 kB / 0.7882 GB, free: 48.99 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.6491, allocations: 0 / 0.7882 GB, free: 48.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001819/0.6493, allocations: 58.42 kB / 0.7883 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.6493, allocations: 54.03 kB / 0.7884 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.121e-05/0.6494, allocations: 96.94 kB / 0.7884 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.6494, allocations: 25.7 kB / 0.7885 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.6494, allocations: 94.97 kB / 0.7886 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.907e-06/0.6494, allocations: 6.406 kB / 0.7886 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.6495, allocations: 21.94 kB / 0.7886 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.816e-05/0.6495, allocations: 314.2 kB / 0.7889 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.6496, allocations: 11.25 kB / 0.7889 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.632e-05/0.6496, allocations: 21.78 kB / 0.7889 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.501e-05/0.6496, allocations: 31.28 kB / 0.7889 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6497, allocations: 0 / 0.7889 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.104e-05/0.6497, allocations: 61.61 kB / 0.789 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.6498, allocations: 12.25 kB / 0.789 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.6498, allocations: 0 / 0.789 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.6498, allocations: 3.031 kB / 0.789 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.314e-05/0.6498, allocations: 9.719 kB / 0.789 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.6499, allocations: 0 / 0.789 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.752e-05/0.6499, allocations: 5.406 kB / 0.789 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.6499, allocations: 2.344 kB / 0.789 GB, free: 48.28 MB / 0.6544 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/0.65, allocations: 113.6 kB / 0.7891 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.65, allocations: 3.938 kB / 0.7891 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.6501, allocations: 69.11 kB / 0.7892 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.6501, allocations: 0 / 0.7892 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6501, allocations: 2.625 kB / 0.7892 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.6502, allocations: 0 / 0.7892 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.6503, allocations: 158.6 kB / 0.7894 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.6503, allocations: 2.656 kB / 0.7894 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-05/0.6503, allocations: 9.125 kB / 0.7894 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.6503, allocations: 3.938 kB / 0.7894 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.6503, allocations: 2.969 kB / 0.7894 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.6503, allocations: 5.438 kB / 0.7894 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6504, allocations: 0 / 0.7894 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.794e-05/0.6504, allocations: 145.9 kB / 0.7895 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.6505, allocations: 84.45 kB / 0.7896 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.6505, allocations: 3.875 kB / 0.7896 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.804e-05/0.6505, allocations: 3.344 kB / 0.7896 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.6506, allocations: 5.406 kB / 0.7896 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.6506, allocations: 0.5 kB / 0.7896 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.184e-05/0.6506, allocations: 78.78 kB / 0.7897 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6506, allocations: 3.828 kB / 0.7897 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002597/0.6509, allocations: 23.98 kB / 0.7897 GB, free: 47.63 MB / 0.6544 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001625/0.651, allocations: 116 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.613e-05/0.6511, allocations: 26.56 kB / 0.7899 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.6512, allocations: 3.312 kB / 0.7899 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.75e-05/0.6512, allocations: 10.66 kB / 0.7899 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.6514, allocations: 3.312 kB / 0.7899 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.6517, allocations: 147.6 kB / 0.79 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.6518, allocations: 0.6785 MB / 0.7907 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.6518, allocations: 10.34 kB / 0.7907 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.6518, allocations: 0 / 0.7907 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of Templates: time 0.002051/0.6539, allocations: 0.6927 MB / 0.7914 GB, free: 46.71 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)