Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7686/0.7686, allocations: 143.4 MB / 159.2 MB, free: 4.883 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.001164/0.001164, allocations: 193.6 kB / 191.9 MB, free: 5.723 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.528/1.528, allocations: 222.9 MB / 447.3 MB, free: 5.855 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.001209/0.001209, allocations: 103.7 kB / 0.517 GB, free: 3.719 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001951/0.001951, allocations: 287.7 kB / 0.5973 GB, free: 49.35 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 84.3 kB / 0.6885 GB, free: 3.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4015, allocations: 81.29 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002579/0.4041, allocations: 1.319 MB / 0.7692 GB, free: 26.31 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009066/0.405, allocations: 0.6054 MB / 0.7698 GB, free: 25.71 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.65e-05/0.4051, allocations: 0 / 0.7698 GB, free: 25.71 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.4051, allocations: 0 / 0.7698 GB, free: 25.71 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.863e-05/0.4052, allocations: 4 kB / 0.7698 GB, free: 25.7 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004114/0.4056, allocations: 111.6 kB / 0.7699 GB, free: 25.59 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.203e-05/0.4057, allocations: 15.92 kB / 0.7699 GB, free: 25.58 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.853e-05/0.4057, allocations: 4 kB / 0.7699 GB, free: 25.57 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.687e-05/0.4058, allocations: 3.938 kB / 0.7699 GB, free: 25.57 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.686e-05/0.4058, allocations: 8 kB / 0.7699 GB, free: 25.56 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.4058, allocations: 0 / 0.7699 GB, free: 25.56 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000399/0.4062, allocations: 339.3 kB / 0.7703 GB, free: 25.23 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.4062, allocations: 7.969 kB / 0.7703 GB, free: 25.22 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.4063, allocations: 7.938 kB / 0.7703 GB, free: 25.21 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.4065, allocations: 142.4 kB / 0.7704 GB, free: 25.08 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4065, allocations: 0 / 0.7704 GB, free: 25.08 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.4065, allocations: 0 / 0.7704 GB, free: 25.08 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.4065, allocations: 0 / 0.7704 GB, free: 25.08 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003254/0.4068, allocations: 351.5 kB / 0.7708 GB, free: 24.68 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.4069, allocations: 12.03 kB / 0.7708 GB, free: 24.67 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.4069, allocations: 4.938 kB / 0.7708 GB, free: 24.67 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.923e-05/0.407, allocations: 164.3 kB / 0.7709 GB, free: 24.47 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.407, allocations: 384 / 0.7709 GB, free: 24.47 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.407, allocations: 384 / 0.7709 GB, free: 24.47 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.507e-05/0.4071, allocations: 38.19 kB / 0.771 GB, free: 24.43 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.4072, allocations: 192 / 0.771 GB, free: 24.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.4072, allocations: 3.938 kB / 0.771 GB, free: 24.42 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.4072, allocations: 0 / 0.771 GB, free: 24.42 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.594e-05/0.4072, allocations: 15.94 kB / 0.771 GB, free: 24.41 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.4073, allocations: 153.6 kB / 0.7711 GB, free: 24.21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.847e-05/0.4074, allocations: 22.61 kB / 0.7711 GB, free: 24.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.4074, allocations: 8.922 kB / 0.7712 GB, free: 24.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.4075, allocations: 0 / 0.7712 GB, free: 24.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.4075, allocations: 30.56 kB / 0.7712 GB, free: 24.12 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.4075, allocations: 4 kB / 0.7712 GB, free: 24.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001486/0.4076, allocations: 53.56 kB / 0.7712 GB, free: 24.06 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.4077, allocations: 51.41 kB / 0.7713 GB, free: 24 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.568e-05/0.4077, allocations: 93.86 kB / 0.7714 GB, free: 23.9 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.4078, allocations: 29.7 kB / 0.7714 GB, free: 23.86 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.789e-05/0.4078, allocations: 80.14 kB / 0.7715 GB, free: 23.78 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.4078, allocations: 7.844 kB / 0.7715 GB, free: 23.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.4078, allocations: 17.95 kB / 0.7715 GB, free: 23.75 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.25e-05/0.4079, allocations: 318.8 kB / 0.7718 GB, free: 23.43 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.216e-05/0.4079, allocations: 0 / 0.7718 GB, free: 23.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.007e-06/0.4079, allocations: 4 kB / 0.7718 GB, free: 23.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.601e-05/0.408, allocations: 12.8 kB / 0.7718 GB, free: 23.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.408, allocations: 0 / 0.7718 GB, free: 23.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.81e-05/0.408, allocations: 41.69 kB / 0.7719 GB, free: 23.36 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.408, allocations: 8 kB / 0.7719 GB, free: 23.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.408, allocations: 3.938 kB / 0.7719 GB, free: 23.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.4081, allocations: 4.094 kB / 0.7719 GB, free: 23.35 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.4082, allocations: 8 kB / 0.7719 GB, free: 23.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002571/0.4085, allocations: 0.5821 MB / 0.7725 GB, free: 22.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.811e-05/0.4085, allocations: 7.938 kB / 0.7725 GB, free: 22.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.4085, allocations: 0 / 0.7725 GB, free: 22.73 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.888e-05/0.4086, allocations: 121.9 kB / 0.7726 GB, free: 22.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-06/0.4086, allocations: 0 / 0.7726 GB, free: 22.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.078e-05/0.4087, allocations: 48.8 kB / 0.7726 GB, free: 22.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.4087, allocations: 3.938 kB / 0.7726 GB, free: 22.54 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4087, allocations: 0 / 0.7726 GB, free: 22.54 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4087, allocations: 3.938 kB / 0.7726 GB, free: 22.54 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.651e-05/0.4088, allocations: 153.6 kB / 0.7728 GB, free: 22.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.4088, allocations: 0 / 0.7728 GB, free: 22.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.95e-05/0.4089, allocations: 8 kB / 0.7728 GB, free: 22.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4089, allocations: 4.031 kB / 0.7728 GB, free: 22.33 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.4089, allocations: 0 / 0.7728 GB, free: 22.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001917/0.4091, allocations: 0.5859 MB / 0.7734 GB, free: 21.72 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4091, allocations: 7.922 kB / 0.7734 GB, free: 21.71 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.4094, allocations: 0.6125 MB / 0.774 GB, free: 21.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.4094, allocations: 81.05 kB / 0.7741 GB, free: 20.94 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.4094, allocations: 4 kB / 0.7741 GB, free: 20.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.381e-05/0.4094, allocations: 0 / 0.7741 GB, free: 20.94 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.4094, allocations: 0 / 0.7741 GB, free: 20.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.4094, allocations: 0 / 0.7741 GB, free: 20.94 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.021e-05/0.4095, allocations: 83.27 kB / 0.7741 GB, free: 20.86 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4095, allocations: 0 / 0.7741 GB, free: 20.86 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003273/0.4098, allocations: 12.09 kB / 0.7741 GB, free: 20.84 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001605/0.41, allocations: 115.8 kB / 0.7743 GB, free: 20.72 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.4101, allocations: 23.97 kB / 0.7743 GB, free: 20.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4102, allocations: 0 / 0.7743 GB, free: 20.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.972e-05/0.4102, allocations: 12 kB / 0.7743 GB, free: 20.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.4104, allocations: 7.938 kB / 0.7743 GB, free: 20.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/0.4109, allocations: 215 kB / 0.7745 GB, free: 20.43 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.411, allocations: 0.6731 MB / 0.7752 GB, free: 19.73 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.176e-05/0.411, allocations: 0 / 0.7752 GB, free: 19.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.897e-06/0.411, allocations: 7.438 kB / 0.7752 GB, free: 19.72 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.411, allocations: 0 / 0.7752 GB, free: 19.72 MB / 458.7 MB Notification: Performance of Templates: time 0.002143/0.4132, allocations: 443 kB / 0.7756 GB, free: 19.32 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)