Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001464/0.001464, allocations: 109.8 kB / 16.52 MB, free: 6.27 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.001571/0.001571, allocations: 194.2 kB / 17.44 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 241.1 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7634/0.7634, allocations: 115.3 MB / 406.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 67.89 kB / 493.6 MB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.386, allocations: 76.17 MB / 0.5564 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002438/0.3885, allocations: 1.336 MB / 0.5577 GB, free: 34.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008901/0.3894, allocations: 0.6162 MB / 0.5583 GB, free: 34.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.728e-05/0.3894, allocations: 0 / 0.5583 GB, free: 34.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.089e-05/0.3894, allocations: 2.156 kB / 0.5583 GB, free: 34.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.812e-05/0.3895, allocations: 6.047 kB / 0.5583 GB, free: 34.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/0.3899, allocations: 119.1 kB / 0.5584 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.783e-05/0.39, allocations: 21.41 kB / 0.5584 GB, free: 34.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.673e-05/0.39, allocations: 8 kB / 0.5584 GB, free: 34.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.218e-05/0.3901, allocations: 3.344 kB / 0.5584 GB, free: 34.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.391e-05/0.3901, allocations: 14.67 kB / 0.5585 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.3901, allocations: 1.25 kB / 0.5585 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004852/0.3906, allocations: 341.3 kB / 0.5588 GB, free: 34.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.3907, allocations: 1.188 kB / 0.5588 GB, free: 34.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.838e-05/0.3907, allocations: 17.91 kB / 0.5588 GB, free: 34.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.3909, allocations: 89.48 kB / 0.5589 GB, free: 34.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3909, allocations: 1.281 kB / 0.5589 GB, free: 34.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3909, allocations: 3.234 kB / 0.5589 GB, free: 34.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.3909, allocations: 0.5 kB / 0.5589 GB, free: 34.11 MB / 446.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.0003803/0.3913, allocations: 359 kB / 0.5592 GB, free: 33.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3913, allocations: 9.156 kB / 0.5592 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.3914, allocations: 3.156 kB / 0.5592 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.637e-05/0.3915, allocations: 173.7 kB / 0.5594 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.3915, allocations: 3.438 kB / 0.5594 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.3915, allocations: 1.906 kB / 0.5594 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.3916, allocations: 40.09 kB / 0.5594 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.3916, allocations: 192 / 0.5594 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.3916, allocations: 9.844 kB / 0.5595 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3917, allocations: 1.344 kB / 0.5595 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.156e-05/0.3917, allocations: 19.19 kB / 0.5595 GB, free: 33.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.392, allocations: 251.9 kB / 0.5597 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.3922, allocations: 53.03 kB / 0.5598 GB, free: 33.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.231e-05/0.3922, allocations: 18.2 kB / 0.5598 GB, free: 33.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.3923, allocations: 2 kB / 0.5598 GB, free: 33.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.3923, allocations: 35.62 kB / 0.5598 GB, free: 33.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3923, allocations: 0.5312 kB / 0.5598 GB, free: 33.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001727/0.3925, allocations: 56.75 kB / 0.5599 GB, free: 33.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.3925, allocations: 54.44 kB / 0.5599 GB, free: 33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.932e-05/0.3926, allocations: 103.8 kB / 0.56 GB, free: 32.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.3926, allocations: 27.02 kB / 0.5601 GB, free: 32.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/0.3926, allocations: 84.05 kB / 0.5601 GB, free: 32.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.147e-06/0.3926, allocations: 6.062 kB / 0.5601 GB, free: 32.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.3927, allocations: 18.34 kB / 0.5602 GB, free: 32.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.3927, allocations: 318.6 kB / 0.5605 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.3928, allocations: 10.33 kB / 0.5605 GB, free: 32.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.861e-05/0.3928, allocations: 25.19 kB / 0.5605 GB, free: 32.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.875e-05/0.3928, allocations: 28.69 kB / 0.5605 GB, free: 32.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3929, allocations: 128 / 0.5605 GB, free: 32.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.613e-05/0.3929, allocations: 71.86 kB / 0.5606 GB, free: 32.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.393, allocations: 5.594 kB / 0.5606 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.393, allocations: 1.094 kB / 0.5606 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.393, allocations: 5.047 kB / 0.5606 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.628e-05/0.393, allocations: 6.344 kB / 0.5606 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.3931, allocations: 0.875 kB / 0.5606 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.712e-05/0.3931, allocations: 5.156 kB / 0.5606 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.3931, allocations: 6.219 kB / 0.5606 GB, free: 32.34 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/0.3932, allocations: 118.4 kB / 0.5607 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.3932, allocations: 2.156 kB / 0.5607 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.3933, allocations: 65.11 kB / 0.5608 GB, free: 32.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3933, allocations: 0 / 0.5608 GB, free: 32.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.3933, allocations: 2.188 kB / 0.5608 GB, free: 32.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.3933, allocations: 0 / 0.5608 GB, free: 32.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.3935, allocations: 164.1 kB / 0.561 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3935, allocations: 0.875 kB / 0.561 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.615e-05/0.3935, allocations: 6.75 kB / 0.561 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.3935, allocations: 0 / 0.561 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3935, allocations: 2.438 kB / 0.561 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3935, allocations: 0.8438 kB / 0.561 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3936, allocations: 0 / 0.561 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.964e-05/0.3937, allocations: 154.7 kB / 0.5611 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.3937, allocations: 80.36 kB / 0.5612 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.3937, allocations: 1.688 kB / 0.5612 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.285e-05/0.3938, allocations: 5.312 kB / 0.5612 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.3938, allocations: 4.891 kB / 0.5612 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.3938, allocations: 2.312 kB / 0.5612 GB, free: 31.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.05e-05/0.3938, allocations: 78.84 kB / 0.5613 GB, free: 31.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3938, allocations: 0 / 0.5613 GB, free: 31.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.3941, allocations: 18.28 kB / 0.5613 GB, free: 31.65 MB / 446.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 (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.0001705/0.3943, allocations: 126.3 kB / 0.5614 GB, free: 31.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.3944, allocations: 28.11 kB / 0.5614 GB, free: 31.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3944, allocations: 0.9375 kB / 0.5614 GB, free: 31.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.044e-05/0.3944, allocations: 8.609 kB / 0.5615 GB, free: 31.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.3946, allocations: 10.19 kB / 0.5615 GB, free: 31.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.3949, allocations: 150.3 kB / 0.5616 GB, free: 31.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.3951, allocations: 0.6768 MB / 0.5623 GB, free: 30.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.3951, allocations: 14.5 kB / 0.5623 GB, free: 30.67 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3951, allocations: 0 / 0.5623 GB, free: 30.67 MB / 446.1 MB Notification: Performance of Templates: time 0.002425/0.3975, allocations: 0.6914 MB / 0.563 GB, free: 30.66 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)