Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001392/0.001392, allocations: 108.2 kB / 16.41 MB, free: 6.496 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.00135/0.00135, allocations: 187 kB / 17.34 MB, free: 5.762 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002085/0.002085, allocations: 292.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9245/0.9245, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 95.86 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3776, allocations: 86.97 MB / 0.767 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002334/0.38, allocations: 1.284 MB / 0.7683 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009265/0.3809, allocations: 0.601 MB / 0.7689 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.381, allocations: 0 / 0.7689 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.381, allocations: 0 / 0.7689 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.349e-05/0.3811, allocations: 7.938 kB / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005302/0.3816, allocations: 143.4 kB / 0.769 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.177e-05/0.3817, allocations: 15.94 kB / 0.769 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.592e-05/0.3817, allocations: 4 kB / 0.769 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.351e-05/0.3817, allocations: 7.984 kB / 0.7691 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.905e-05/0.3818, allocations: 15.94 kB / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.3818, allocations: 0 / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004802/0.3823, allocations: 347.3 kB / 0.7694 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.3823, allocations: 0 / 0.7694 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.3823, allocations: 11.92 kB / 0.7694 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.3826, allocations: 149.9 kB / 0.7696 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3826, allocations: 0 / 0.7696 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3826, allocations: 0 / 0.7696 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.3826, allocations: 0 / 0.7696 GB, free: 1.316 MB / 0.5294 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.0003927/0.383, allocations: 359.4 kB / 0.7699 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.3831, allocations: 16.03 kB / 0.7699 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.3831, allocations: 4.844 kB / 0.7699 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.395e-05/0.3832, allocations: 164.4 kB / 0.7701 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.3832, allocations: 4.375 kB / 0.7701 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.3832, allocations: 384 / 0.7701 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.3833, allocations: 46.19 kB / 0.7701 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.3834, allocations: 192 / 0.7701 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.3834, allocations: 3.938 kB / 0.7701 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3834, allocations: 0 / 0.7701 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.858e-05/0.3834, allocations: 19.98 kB / 0.7701 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.3837, allocations: 248.9 kB / 0.7704 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.3839, allocations: 54.56 kB / 0.7704 GB, free: 268 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/0.384, allocations: 16.86 kB / 0.7704 GB, free: 248 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.384, allocations: 0 / 0.7704 GB, free: 248 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.384, allocations: 42.55 kB / 0.7705 GB, free: 196 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.384, allocations: 3.938 kB / 0.7705 GB, free: 192 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.000156/0.3842, allocations: 53.69 kB / 0.7705 GB, free: 132 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.3842, allocations: 51.41 kB / 0.7706 GB, free: 68 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.005e-05/0.3843, allocations: 98.05 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.3843, allocations: 29.7 kB / 0.7707 GB, free: 15.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.3844, allocations: 91.92 kB / 0.7708 GB, free: 15.83 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.3844, allocations: 15.73 kB / 0.7708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.3844, allocations: 21.72 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3845, allocations: 314.8 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.943e-05/0.3846, allocations: 11.98 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.667e-05/0.3846, allocations: 17.72 kB / 0.7712 GB, free: 15.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/0.3847, allocations: 29.89 kB / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3847, allocations: 0 / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.081e-05/0.3848, allocations: 61.56 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.3848, allocations: 12.03 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3848, allocations: 0 / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3848, allocations: 0 / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.91e-05/0.3849, allocations: 11.98 kB / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3849, allocations: 0 / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.771e-05/0.3849, allocations: 4 kB / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.3849, allocations: 0 / 0.7713 GB, free: 15.31 MB / 0.545 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.732e-05/0.385, allocations: 120.1 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.385, allocations: 7.906 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.3852, allocations: 65.17 kB / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3852, allocations: 0 / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3852, allocations: 0 / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.3852, allocations: 0 / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.3853, allocations: 157.6 kB / 0.7716 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3854, allocations: 0 / 0.7716 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-05/0.3854, allocations: 8 kB / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3854, allocations: 0 / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.3854, allocations: 0 / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3854, allocations: 0 / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3854, allocations: 4 kB / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.3855, allocations: 151.4 kB / 0.7718 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.3856, allocations: 85.09 kB / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.3856, allocations: 8.062 kB / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.136e-05/0.3857, allocations: 7.938 kB / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.3857, allocations: 0 / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.3857, allocations: 4 kB / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.773e-05/0.3857, allocations: 79.28 kB / 0.7719 GB, free: 14.53 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3857, allocations: 0 / 0.7719 GB, free: 14.53 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002479/0.386, allocations: 27.92 kB / 0.772 GB, free: 14.5 MB / 0.545 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.0001626/0.3862, allocations: 123.2 kB / 0.7721 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.9e-05/0.3863, allocations: 23.92 kB / 0.7721 GB, free: 14.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3863, allocations: 0 / 0.7721 GB, free: 14.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.566e-05/0.3863, allocations: 8 kB / 0.7721 GB, free: 14.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.3865, allocations: 14.17 kB / 0.7721 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.3868, allocations: 148.8 kB / 0.7723 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.387, allocations: 0.6768 MB / 0.7729 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.387, allocations: 11.44 kB / 0.7729 GB, free: 13.43 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.387, allocations: 0 / 0.7729 GB, free: 13.43 MB / 0.545 GB Notification: Performance of Templates: time 0.001915/0.389, allocations: 0.697 MB / 0.7736 GB, free: 12.74 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)