Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.002588/0.002588, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.626/3.626, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 4.653/4.653, allocations: 292.6 MB / 0.5497 GB, free: 14.64 MB / 462.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.001076/0.001077, allocations: 11.22 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3762, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001697/0.3779, allocations: 0.9704 MB / 0.7882 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006599/0.3786, allocations: 320.4 kB / 0.7885 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.837e-05/0.3786, allocations: 0 / 0.7885 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.3787, allocations: 0 / 0.7885 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.118e-05/0.3787, allocations: 7.984 kB / 0.7885 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.3791, allocations: 63.78 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.113e-05/0.3791, allocations: 11.94 kB / 0.7886 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.656e-05/0.3792, allocations: 3.984 kB / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.171e-05/0.3792, allocations: 4 kB / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.432e-05/0.3793, allocations: 7.984 kB / 0.7886 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.3793, allocations: 0 / 0.7886 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003224/0.3796, allocations: 183.7 kB / 0.7888 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.734e-06/0.3797, allocations: 0 / 0.7888 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.3797, allocations: 25.7 kB / 0.7888 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.3798, allocations: 52.17 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3798, allocations: 3.938 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3798, allocations: 0 / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.3798, allocations: 0 / 0.7888 GB, free: 10.25 MB / 0.6075 GB 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.0004457/0.3803, allocations: 331.4 kB / 0.7892 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.3804, allocations: 12.03 kB / 0.7892 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.027e-05/0.3804, allocations: 30.56 kB / 0.7892 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.3804, allocations: 7.906 kB / 0.7892 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.3806, allocations: 171 kB / 0.7894 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3806, allocations: 4 kB / 0.7894 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.3806, allocations: 0 / 0.7894 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.3807, allocations: 29.7 kB / 0.7894 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.3808, allocations: 0 / 0.7894 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.3808, allocations: 0 / 0.7894 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3808, allocations: 4 kB / 0.7894 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.044e-05/0.3808, allocations: 4 kB / 0.7894 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.381, allocations: 161.6 kB / 0.7896 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.902e-05/0.3811, allocations: 22.55 kB / 0.7896 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.3811, allocations: 0 / 0.7896 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.3812, allocations: 46.61 kB / 0.7896 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 4.158e-06/0.3812, allocations: 7.922 kB / 0.7896 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001501/0.3813, allocations: 37.7 kB / 0.7897 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.3814, allocations: 51.41 kB / 0.7897 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.124e-05/0.3815, allocations: 97.86 kB / 0.7898 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.3815, allocations: 25.7 kB / 0.7898 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.3816, allocations: 84.08 kB / 0.7899 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.3816, allocations: 7.891 kB / 0.7899 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.3816, allocations: 0 / 0.7899 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3818, allocations: 323.1 kB / 0.7902 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.3818, allocations: 0 / 0.7902 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.433e-06/0.3818, allocations: 0 / 0.7902 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.506e-05/0.3818, allocations: 4 kB / 0.7902 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.3818, allocations: 0 / 0.7902 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.584e-05/0.3819, allocations: 45.64 kB / 0.7903 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3819, allocations: 11.94 kB / 0.7903 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3819, allocations: 0 / 0.7903 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.3819, allocations: 0 / 0.7903 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.3821, allocations: 12.09 kB / 0.7903 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004117/0.3826, allocations: 0.586 MB / 0.7909 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.736e-05/0.3826, allocations: 0 / 0.7909 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-06/0.3826, allocations: 0 / 0.7909 GB, free: 7.914 MB / 0.6075 GB 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.921e-05/0.3827, allocations: 113.8 kB / 0.791 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-06/0.3827, allocations: 0 / 0.791 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.3828, allocations: 52.81 kB / 0.791 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3828, allocations: 0 / 0.791 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.3829, allocations: 0 / 0.791 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3829, allocations: 3.938 kB / 0.791 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.383, allocations: 157.6 kB / 0.7912 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.383, allocations: 0 / 0.7912 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.514e-05/0.3831, allocations: 8 kB / 0.7912 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3831, allocations: 0 / 0.7912 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-06/0.3831, allocations: 0 / 0.7912 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003695/0.3835, allocations: 0.59 MB / 0.7918 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.3835, allocations: 3.953 kB / 0.7918 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.3836, allocations: 61.08 kB / 0.7918 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.464e-05/0.3837, allocations: 77.11 kB / 0.7919 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.3837, allocations: 128 / 0.7919 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.222e-05/0.3837, allocations: 7.984 kB / 0.7919 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.3838, allocations: 4 kB / 0.7919 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.3838, allocations: 3.953 kB / 0.7919 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.601e-05/0.3839, allocations: 79.28 kB / 0.792 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3839, allocations: 0 / 0.792 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002045/0.3841, allocations: 11.94 kB / 0.792 GB, free: 6.621 MB / 0.6075 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004926/0.3846, allocations: 0.6164 MB / 0.7926 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000201/0.3848, allocations: 19.94 kB / 0.7926 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3848, allocations: 0 / 0.7926 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.526e-05/0.3849, allocations: 15.98 kB / 0.7926 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.3851, allocations: 6.375 kB / 0.7926 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.3856, allocations: 137 kB / 0.7928 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.3859, allocations: 0.677 MB / 0.7934 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.885e-05/0.386, allocations: 0 / 0.7934 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.386, allocations: 11.44 kB / 0.7935 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.386, allocations: 0 / 0.7935 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4997/0.8857, allocations: 1.131 MB / 0.7946 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004647/0.8863, allocations: 253.5 kB / 0.7948 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.352/5.239, allocations: 0 / 0.7948 GB, free: 3.891 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) Environment - environmentSimulation: