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.0009945/0.0009944, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.00122/0.001221, allocations: 172.7 kB / 15.95 MB, free: 204 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.268/1.268, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.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.579/1.579, allocations: 292.7 MB / 0.5499 GB, free: 14.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.0006117/0.0006118, allocations: 19.72 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2211, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001313/0.2224, allocations: 1.002 MB / 0.7883 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009523/0.2234, allocations: 0.5465 MB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.273e-05/0.2234, allocations: 0 / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.2235, allocations: 0 / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.445e-05/0.2235, allocations: 7.922 kB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.224, allocations: 119.6 kB / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.653e-05/0.224, allocations: 19.92 kB / 0.7889 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.551e-05/0.2241, allocations: 0 / 0.7889 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.573e-05/0.2241, allocations: 11.94 kB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.2242, allocations: 19.97 kB / 0.789 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.2242, allocations: 0 / 0.789 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004703/0.2247, allocations: 331.3 kB / 0.7893 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.446e-06/0.2247, allocations: 0 / 0.7893 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.2247, allocations: 33.64 kB / 0.7893 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.2249, allocations: 92.11 kB / 0.7894 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.2249, allocations: 3.984 kB / 0.7894 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2249, allocations: 0 / 0.7894 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.225, allocations: 0 / 0.7894 GB, free: 9.73 MB / 0.6075 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.0004601/0.2254, allocations: 355.3 kB / 0.7897 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.2255, allocations: 8.031 kB / 0.7898 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.2255, allocations: 11.91 kB / 0.7898 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.2257, allocations: 163 kB / 0.7899 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.2257, allocations: 0 / 0.7899 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.2257, allocations: 4 kB / 0.7899 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.2258, allocations: 49.62 kB / 0.79 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.2259, allocations: 0 / 0.79 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.2259, allocations: 0 / 0.79 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2259, allocations: 11.92 kB / 0.79 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.208e-05/0.2259, allocations: 23.92 kB / 0.79 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.2263, allocations: 252.9 kB / 0.7903 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.2265, allocations: 46.69 kB / 0.7903 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/0.2265, allocations: 20.84 kB / 0.7903 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.2265, allocations: 0 / 0.7903 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.2266, allocations: 34.56 kB / 0.7903 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.2266, allocations: 0 / 0.7903 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001601/0.2267, allocations: 61.62 kB / 0.7904 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.2268, allocations: 51.41 kB / 0.7905 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/0.2268, allocations: 97.86 kB / 0.7905 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.2269, allocations: 25.7 kB / 0.7906 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.2269, allocations: 91.97 kB / 0.7907 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.2269, allocations: 11.81 kB / 0.7907 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.2269, allocations: 8 kB / 0.7907 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.227, allocations: 314.8 kB / 0.791 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.2271, allocations: 8 kB / 0.791 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.2271, allocations: 17.7 kB / 0.791 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.664e-05/0.2271, allocations: 15.94 kB / 0.791 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2271, allocations: 0 / 0.791 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.185e-05/0.2272, allocations: 53.69 kB / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2273, allocations: 12.03 kB / 0.7911 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2273, allocations: 0 / 0.7911 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.2273, allocations: 0 / 0.7911 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.544e-05/0.2273, allocations: 11.98 kB / 0.7911 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.2273, allocations: 3.938 kB / 0.7911 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.114e-05/0.2274, allocations: 0 / 0.7911 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-06/0.2274, allocations: 4 kB / 0.7911 GB, free: 7.773 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.282e-05/0.2275, allocations: 109.8 kB / 0.7912 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.2275, allocations: 4 kB / 0.7912 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.2276, allocations: 65.09 kB / 0.7913 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2276, allocations: 0 / 0.7913 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.2276, allocations: 7.984 kB / 0.7913 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2276, allocations: 4.406 kB / 0.7913 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.2278, allocations: 157.6 kB / 0.7914 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2278, allocations: 0 / 0.7914 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.2278, allocations: 7.938 kB / 0.7914 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2278, allocations: 4 kB / 0.7914 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.2279, allocations: 0 / 0.7914 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2279, allocations: 0 / 0.7914 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2279, allocations: 4 kB / 0.7914 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.228, allocations: 151.5 kB / 0.7916 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.228, allocations: 84.98 kB / 0.7917 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.2281, allocations: 0 / 0.7917 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.177e-05/0.2281, allocations: 8.109 kB / 0.7917 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.2281, allocations: 4 kB / 0.7917 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.2281, allocations: 0 / 0.7917 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.589e-05/0.2282, allocations: 87.28 kB / 0.7918 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2282, allocations: 0 / 0.7918 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002343/0.2284, allocations: 16 kB / 0.7918 GB, free: 6.965 MB / 0.6075 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 (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.0001932/0.2286, allocations: 119.2 kB / 0.7919 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.405e-05/0.2287, allocations: 23.98 kB / 0.7919 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.2287, allocations: 0 / 0.7919 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-05/0.2288, allocations: 15.98 kB / 0.7919 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.229, allocations: 6.391 kB / 0.7919 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.2293, allocations: 136.5 kB / 0.7921 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.2295, allocations: 0.677 MB / 0.7927 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.247e-05/0.2296, allocations: 7.938 kB / 0.7927 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.729e-05/0.2296, allocations: 11.44 kB / 0.7928 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2296, allocations: 4 kB / 0.7928 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of Templates: time 0.002384/0.232, allocations: 488 kB / 0.7932 GB, free: 5.426 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: