Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.007252/0.007252, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001791/0.001791, allocations: 198.4 kB / 16.67 MB, free: 5.934 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.436/1.436, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.521/1.521, allocations: 251.7 MB / 0.5094 GB, free: 3.055 MB / 414.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.001382/0.001382, allocations: 75.83 kB / 0.7258 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2161, allocations: 104.7 MB / 0.828 GB, free: 240 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002153/0.2183, allocations: 1.284 MB / 0.8293 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.2194, allocations: 0.5998 MB / 0.8299 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.2194, allocations: 0 / 0.8299 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.849e-05/0.2194, allocations: 3.938 kB / 0.8299 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.346e-05/0.2195, allocations: 4 kB / 0.8299 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.22, allocations: 143.4 kB / 0.83 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.363e-05/0.2201, allocations: 23.92 kB / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.2201, allocations: 0 / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.423e-05/0.2202, allocations: 11.88 kB / 0.8301 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.731e-05/0.2202, allocations: 7.984 kB / 0.8301 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.2202, allocations: 0 / 0.8301 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005148/0.2208, allocations: 343.4 kB / 0.8304 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.2208, allocations: 11.94 kB / 0.8304 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.2208, allocations: 4 kB / 0.8304 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.2211, allocations: 151.5 kB / 0.8306 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2211, allocations: 0 / 0.8306 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2211, allocations: 7.938 kB / 0.8306 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.2211, allocations: 0 / 0.8306 GB, free: 13.64 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.0004103/0.2215, allocations: 363 kB / 0.8309 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2216, allocations: 8.031 kB / 0.8309 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.2216, allocations: 4.875 kB / 0.8309 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.2217, allocations: 176.3 kB / 0.8311 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.2217, allocations: 384 / 0.8311 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.2217, allocations: 384 / 0.8311 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.2219, allocations: 50.25 kB / 0.8311 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.2219, allocations: 192 / 0.8311 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.2219, allocations: 3.938 kB / 0.8311 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2219, allocations: 0 / 0.8311 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.606e-05/0.2219, allocations: 16 kB / 0.8312 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.2223, allocations: 256.9 kB / 0.8314 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.2225, allocations: 50.5 kB / 0.8314 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.245e-05/0.2225, allocations: 16.86 kB / 0.8315 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.2226, allocations: 4 kB / 0.8315 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.2226, allocations: 30.56 kB / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2226, allocations: 0 / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001677/0.2228, allocations: 61.62 kB / 0.8316 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.2228, allocations: 55.41 kB / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.106e-05/0.2229, allocations: 98.17 kB / 0.8317 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.2229, allocations: 25.7 kB / 0.8317 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/0.2229, allocations: 88.09 kB / 0.8318 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/0.223, allocations: 7.891 kB / 0.8318 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.223, allocations: 29.66 kB / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.2231, allocations: 310.8 kB / 0.8321 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.076e-05/0.2232, allocations: 12 kB / 0.8322 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-05/0.2232, allocations: 17.7 kB / 0.8322 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.058e-05/0.2232, allocations: 33.75 kB / 0.8322 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2232, allocations: 3.938 kB / 0.8322 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.821e-05/0.2233, allocations: 61.62 kB / 0.8323 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.2234, allocations: 4 kB / 0.8323 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2234, allocations: 0 / 0.8323 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.2234, allocations: 4.031 kB / 0.8323 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.296e-05/0.2234, allocations: 8 kB / 0.8323 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.2235, allocations: 3.938 kB / 0.8323 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.192e-05/0.2235, allocations: 4 kB / 0.8323 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.2235, allocations: 3.984 kB / 0.8323 GB, free: 11.63 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 7.084e-05/0.2236, allocations: 113.8 kB / 0.8324 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.2236, allocations: 3.938 kB / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.2237, allocations: 61.19 kB / 0.8325 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2237, allocations: 7.938 kB / 0.8325 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2238, allocations: 0 / 0.8325 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.2238, allocations: 0 / 0.8325 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.2239, allocations: 165.6 kB / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2239, allocations: 0 / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/0.224, allocations: 11.92 kB / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.224, allocations: 0 / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.224, allocations: 0 / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.224, allocations: 8.125 kB / 0.8326 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.224, allocations: 0 / 0.8326 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.2241, allocations: 151.5 kB / 0.8328 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.2242, allocations: 77.11 kB / 0.8329 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.2242, allocations: 0 / 0.8329 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.942e-05/0.2243, allocations: 0 / 0.8329 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.2243, allocations: 7.984 kB / 0.8329 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.2243, allocations: 0 / 0.8329 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.489e-05/0.2243, allocations: 83.28 kB / 0.833 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2243, allocations: 0 / 0.833 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002521/0.2246, allocations: 23.88 kB / 0.833 GB, free: 10.82 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.0002126/0.2248, allocations: 123.1 kB / 0.8331 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.2249, allocations: 27.98 kB / 0.8331 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.225, allocations: 0 / 0.8331 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.198e-05/0.225, allocations: 12 kB / 0.8331 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.2252, allocations: 9.797 kB / 0.8331 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.2255, allocations: 131 kB / 0.8333 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.2257, allocations: 0.6805 MB / 0.8339 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.016e-05/0.2257, allocations: 3.984 kB / 0.8339 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/0.2258, allocations: 11.44 kB / 0.8339 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.2258, allocations: 0 / 0.8339 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of Templates: time 0.002598/0.2284, allocations: 0.5091 MB / 0.8344 GB, free: 9.266 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)