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.001/0.001, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007696/0.007697, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.372/1.372, allocations: 205.4 MB / 222.4 MB, free: 5.578 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.672/1.672, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005197/0.0005197, allocations: 12 kB / 0.6743 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2434, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001267/0.2447, allocations: 1.009 MB / 0.7889 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008809/0.2456, allocations: 0.5967 MB / 0.7895 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.446e-05/0.2456, allocations: 4 kB / 0.7895 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.2457, allocations: 3.938 kB / 0.7895 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.586e-05/0.2457, allocations: 7.984 kB / 0.7895 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.2461, allocations: 119.6 kB / 0.7896 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.645e-05/0.2462, allocations: 19.81 kB / 0.7896 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.2462, allocations: 3.984 kB / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.323e-05/0.2462, allocations: 11.98 kB / 0.7896 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.2463, allocations: 7.938 kB / 0.7896 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.2463, allocations: 8 kB / 0.7896 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004451/0.2468, allocations: 335.4 kB / 0.7899 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.2468, allocations: 11.91 kB / 0.79 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.2468, allocations: 37.64 kB / 0.79 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.2471, allocations: 140 kB / 0.7901 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2471, allocations: 4 kB / 0.7901 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2471, allocations: 0 / 0.7901 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.145e-06/0.2471, allocations: 0 / 0.7901 GB, free: 9.27 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.0003631/0.2475, allocations: 351.5 kB / 0.7905 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2475, allocations: 12.03 kB / 0.7905 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.2475, allocations: 8.844 kB / 0.7905 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.649e-05/0.2476, allocations: 164.3 kB / 0.7906 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.2476, allocations: 4.375 kB / 0.7906 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.2477, allocations: 4.375 kB / 0.7907 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.427e-05/0.2478, allocations: 38.25 kB / 0.7907 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2478, allocations: 8.172 kB / 0.7907 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.2478, allocations: 3.938 kB / 0.7907 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.2478, allocations: 0 / 0.7907 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.61e-05/0.2479, allocations: 19.98 kB / 0.7907 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.2481, allocations: 248.9 kB / 0.791 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.2483, allocations: 50.62 kB / 0.791 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.178e-05/0.2484, allocations: 16.86 kB / 0.791 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.2484, allocations: 3.984 kB / 0.791 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.2484, allocations: 34.56 kB / 0.7911 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2484, allocations: 0 / 0.7911 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001612/0.2486, allocations: 61.62 kB / 0.7911 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.2486, allocations: 51.41 kB / 0.7912 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.634e-05/0.2487, allocations: 97.86 kB / 0.7913 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.2487, allocations: 25.7 kB / 0.7913 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.2488, allocations: 91.97 kB / 0.7914 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.2488, allocations: 19.73 kB / 0.7914 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.2488, allocations: 17.66 kB / 0.7914 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.422e-05/0.2489, allocations: 318.8 kB / 0.7917 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.2489, allocations: 11.98 kB / 0.7917 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.894e-05/0.249, allocations: 13.72 kB / 0.7917 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.699e-05/0.249, allocations: 33.66 kB / 0.7918 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.249, allocations: 0 / 0.7918 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.475e-05/0.2491, allocations: 61.62 kB / 0.7918 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.2491, allocations: 8.031 kB / 0.7918 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2492, allocations: 0 / 0.7918 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.2492, allocations: 0 / 0.7918 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.611e-05/0.2492, allocations: 15.92 kB / 0.7919 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.2492, allocations: 0 / 0.7919 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.362e-05/0.2493, allocations: 4 kB / 0.7919 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.2493, allocations: 0 / 0.7919 GB, free: 7.27 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.458e-05/0.2493, allocations: 109.8 kB / 0.792 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.2494, allocations: 4 kB / 0.792 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.2495, allocations: 73.62 kB / 0.792 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2495, allocations: 0 / 0.792 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2495, allocations: 4 kB / 0.792 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2495, allocations: 48 / 0.792 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.2497, allocations: 161.6 kB / 0.7922 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2497, allocations: 0 / 0.7922 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.2497, allocations: 11.94 kB / 0.7922 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2497, allocations: 0 / 0.7922 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.2497, allocations: 0 / 0.7922 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2497, allocations: 4 kB / 0.7922 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2498, allocations: 0 / 0.7922 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.2499, allocations: 147.5 kB / 0.7923 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.892e-05/0.2499, allocations: 89.03 kB / 0.7924 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.2499, allocations: 0 / 0.7924 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.769e-05/0.25, allocations: 0 / 0.7924 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.25, allocations: 0 / 0.7924 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.25, allocations: 4 kB / 0.7924 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.999e-05/0.2501, allocations: 83.28 kB / 0.7925 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2501, allocations: 0 / 0.7925 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002553/0.2503, allocations: 23.98 kB / 0.7925 GB, free: 6.461 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 (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.0001872/0.2505, allocations: 123.1 kB / 0.7927 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.651e-05/0.2506, allocations: 16 kB / 0.7927 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2506, allocations: 0 / 0.7927 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.306e-05/0.2507, allocations: 15.98 kB / 0.7927 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.2509, allocations: 21.34 kB / 0.7927 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.2512, allocations: 136.6 kB / 0.7928 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.2515, allocations: 0.677 MB / 0.7935 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.2515, allocations: 4.25 kB / 0.7935 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.2515, allocations: 7.438 kB / 0.7935 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.2516, allocations: 4 kB / 0.7935 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of Templates: time 0.002298/0.2539, allocations: 0.4928 MB / 0.794 GB, free: 4.906 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: