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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.792/0.792, allocations: 143.4 MB / 159.2 MB, free: 4.906 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 189.7 kB / 191.9 MB, free: 5.73 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 447.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000949/0.0009488, allocations: 107.2 kB / 0.517 GB, free: 3.73 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002052/0.002052, allocations: 283.4 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 79.88 kB / 0.6885 GB, free: 3.848 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3779, allocations: 81.3 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002297/0.3802, allocations: 1.347 MB / 0.7692 GB, free: 26.31 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.000883/0.3811, allocations: 0.6089 MB / 0.7698 GB, free: 25.71 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.7e-05/0.3812, allocations: 0 / 0.7698 GB, free: 25.71 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.3812, allocations: 4 kB / 0.7698 GB, free: 25.7 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.988e-05/0.3813, allocations: 4 kB / 0.7698 GB, free: 25.7 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.3817, allocations: 118.4 kB / 0.7699 GB, free: 25.59 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.917e-05/0.3817, allocations: 23.92 kB / 0.77 GB, free: 25.56 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.3818, allocations: 7.922 kB / 0.77 GB, free: 25.55 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.17e-05/0.3818, allocations: 4 kB / 0.77 GB, free: 25.55 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.41e-05/0.3819, allocations: 11.94 kB / 0.77 GB, free: 25.54 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.3819, allocations: 4 kB / 0.77 GB, free: 25.54 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003987/0.3823, allocations: 351.3 kB / 0.7703 GB, free: 25.19 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.3823, allocations: 0 / 0.7703 GB, free: 25.19 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.3823, allocations: 7.938 kB / 0.7703 GB, free: 25.18 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.3826, allocations: 142.4 kB / 0.7705 GB, free: 25.05 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3826, allocations: 7.938 kB / 0.7705 GB, free: 25.04 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3826, allocations: 0 / 0.7705 GB, free: 25.04 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.3826, allocations: 0 / 0.7705 GB, free: 25.04 MB / 458.7 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.0004111/0.383, allocations: 363.5 kB / 0.7708 GB, free: 24.63 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3831, allocations: 8.031 kB / 0.7708 GB, free: 24.62 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.3831, allocations: 4.844 kB / 0.7708 GB, free: 24.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.315e-05/0.3832, allocations: 176.3 kB / 0.771 GB, free: 24.41 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.3832, allocations: 384 / 0.771 GB, free: 24.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.3832, allocations: 384 / 0.771 GB, free: 24.41 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.3834, allocations: 42.25 kB / 0.7711 GB, free: 24.36 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.3834, allocations: 192 / 0.7711 GB, free: 24.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3834, allocations: 3.938 kB / 0.7711 GB, free: 24.36 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3834, allocations: 0 / 0.7711 GB, free: 24.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.126e-05/0.3835, allocations: 23.92 kB / 0.7711 GB, free: 24.34 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.3838, allocations: 252.9 kB / 0.7713 GB, free: 24.04 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.384, allocations: 46.62 kB / 0.7714 GB, free: 23.98 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.384, allocations: 24.83 kB / 0.7714 GB, free: 23.96 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.3841, allocations: 4 kB / 0.7714 GB, free: 23.95 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/0.3841, allocations: 30.56 kB / 0.7714 GB, free: 23.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.3841, allocations: 0 / 0.7714 GB, free: 23.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.000172/0.3843, allocations: 61.62 kB / 0.7715 GB, free: 23.85 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.3843, allocations: 55.41 kB / 0.7715 GB, free: 23.78 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.138e-05/0.3844, allocations: 101.8 kB / 0.7716 GB, free: 23.67 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.3844, allocations: 25.7 kB / 0.7717 GB, free: 23.64 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.3844, allocations: 84.05 kB / 0.7717 GB, free: 23.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.889e-06/0.3844, allocations: 11.81 kB / 0.7717 GB, free: 23.54 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.3845, allocations: 17.72 kB / 0.7718 GB, free: 23.52 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.022e-05/0.3845, allocations: 318.8 kB / 0.7721 GB, free: 23.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.3846, allocations: 8 kB / 0.7721 GB, free: 23.19 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.403e-05/0.3846, allocations: 21.72 kB / 0.7721 GB, free: 23.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.143e-05/0.3846, allocations: 33.64 kB / 0.7721 GB, free: 23.12 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3846, allocations: 0 / 0.7721 GB, free: 23.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.211e-05/0.3847, allocations: 65.56 kB / 0.7722 GB, free: 23.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3847, allocations: 9.188 kB / 0.7722 GB, free: 23.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3847, allocations: 0 / 0.7722 GB, free: 23.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3848, allocations: 4.031 kB / 0.7722 GB, free: 23.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.062e-05/0.3848, allocations: 8 kB / 0.7722 GB, free: 23.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.3848, allocations: 0 / 0.7722 GB, free: 23.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/0.3849, allocations: 7.938 kB / 0.7722 GB, free: 23.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.3849, allocations: 0 / 0.7722 GB, free: 23.03 MB / 458.7 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 5.146e-05/0.3849, allocations: 117.8 kB / 0.7723 GB, free: 22.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.3849, allocations: 0 / 0.7723 GB, free: 22.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.3851, allocations: 73.05 kB / 0.7724 GB, free: 22.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.3851, allocations: 0 / 0.7724 GB, free: 22.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3851, allocations: 0 / 0.7724 GB, free: 22.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3851, allocations: 0 / 0.7724 GB, free: 22.82 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.3852, allocations: 165.5 kB / 0.7726 GB, free: 22.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3852, allocations: 0 / 0.7726 GB, free: 22.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.977e-05/0.3853, allocations: 4 kB / 0.7726 GB, free: 22.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.3853, allocations: 0 / 0.7726 GB, free: 22.61 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.3853, allocations: 0 / 0.7726 GB, free: 22.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3853, allocations: 7.984 kB / 0.7726 GB, free: 22.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3853, allocations: 0 / 0.7726 GB, free: 22.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.3855, allocations: 0.701 MB / 0.7733 GB, free: 21.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.3856, allocations: 77.11 kB / 0.7733 GB, free: 21.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.3856, allocations: 0 / 0.7733 GB, free: 21.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.97e-05/0.3856, allocations: 48 / 0.7733 GB, free: 21.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.3856, allocations: 7.984 kB / 0.7733 GB, free: 21.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.3857, allocations: 3.938 kB / 0.7733 GB, free: 21.74 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.138e-05/0.3857, allocations: 91.27 kB / 0.7734 GB, free: 21.65 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3857, allocations: 0 / 0.7734 GB, free: 21.65 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003437/0.386, allocations: 16 kB / 0.7734 GB, free: 21.63 MB / 458.7 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.0001542/0.3862, allocations: 123.6 kB / 0.7736 GB, free: 21.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.214e-05/0.3863, allocations: 23.98 kB / 0.7736 GB, free: 21.48 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3863, allocations: 0 / 0.7736 GB, free: 21.48 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.651e-05/0.3863, allocations: 12 kB / 0.7736 GB, free: 21.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.3865, allocations: 0 / 0.7736 GB, free: 21.46 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.3868, allocations: 248.3 kB / 0.7738 GB, free: 21.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.387, allocations: 0.6809 MB / 0.7745 GB, free: 20.48 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.331e-05/0.387, allocations: 3.938 kB / 0.7745 GB, free: 20.47 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.536e-05/0.387, allocations: 15.44 kB / 0.7745 GB, free: 20.46 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3871, allocations: 0 / 0.7745 GB, free: 20.46 MB / 458.7 MB Notification: Performance of Templates: time 0.002222/0.3893, allocations: 0.5094 MB / 0.775 GB, free: 19.96 MB / 458.7 MB 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)