Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.00173/0.00173, allocations: 100.1 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.01407/0.01407, 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.634/3.634, allocations: 205.4 MB / 222.1 MB, free: 5.648 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 5.779/5.779, allocations: 292.6 MB / 0.5497 GB, free: 14.59 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.0007735/0.0007739, allocations: 13.72 kB / 0.6737 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3796, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002404/0.3821, allocations: 0.9704 MB / 0.7882 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009306/0.3831, allocations: 288.5 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.3831, allocations: 0 / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/0.3832, allocations: 4 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.313e-05/0.3833, allocations: 11.91 kB / 0.7885 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000458/0.3838, allocations: 51.86 kB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.595e-05/0.3838, allocations: 11.98 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.854e-05/0.3839, allocations: 3.938 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.629e-05/0.3839, allocations: 4 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.017e-05/0.384, allocations: 11.92 kB / 0.7886 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.3841, allocations: 0 / 0.7886 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000446/0.3845, allocations: 175.7 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.3845, allocations: 3.984 kB / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.3846, allocations: 25.7 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.3848, allocations: 52.17 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3848, allocations: 4 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3848, allocations: 0 / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.3848, allocations: 0 / 0.7888 GB, free: 10.27 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.0004658/0.3853, allocations: 331.4 kB / 0.7891 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.3853, allocations: 8.031 kB / 0.7891 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.482e-05/0.3854, allocations: 34.56 kB / 0.7892 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.3855, allocations: 3.906 kB / 0.7892 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.3856, allocations: 171 kB / 0.7893 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.3857, allocations: 0 / 0.7893 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.3857, allocations: 4 kB / 0.7893 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.3858, allocations: 37.58 kB / 0.7894 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3858, allocations: 0 / 0.7894 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3859, allocations: 0 / 0.7894 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.3859, allocations: 0 / 0.7894 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.64e-05/0.3859, allocations: 4 kB / 0.7894 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002222/0.3861, allocations: 153.6 kB / 0.7895 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/0.3862, allocations: 30.61 kB / 0.7895 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.3863, allocations: 0 / 0.7895 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.3863, allocations: 30.56 kB / 0.7896 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.3863, allocations: 3.938 kB / 0.7896 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001908/0.3865, allocations: 45.75 kB / 0.7896 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.3866, allocations: 51.41 kB / 0.7897 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.771e-05/0.3867, allocations: 89.86 kB / 0.7898 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3867, allocations: 29.95 kB / 0.7898 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.3868, allocations: 84.14 kB / 0.7899 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.3868, allocations: 7.891 kB / 0.7899 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.3868, allocations: 0 / 0.7899 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.387, allocations: 318.8 kB / 0.7902 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.387, allocations: 4 kB / 0.7902 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.719e-06/0.387, allocations: 0 / 0.7902 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.218e-05/0.3871, allocations: 4 kB / 0.7902 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.3871, allocations: 3.938 kB / 0.7902 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.832e-05/0.3872, allocations: 49.66 kB / 0.7902 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.3872, allocations: 7.984 kB / 0.7902 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3873, allocations: 0 / 0.7902 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3873, allocations: 0 / 0.7902 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.3875, allocations: 8 kB / 0.7902 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005198/0.388, allocations: 0.5822 MB / 0.7908 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.955e-05/0.3881, allocations: 8.109 kB / 0.7908 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.3881, allocations: 0 / 0.7908 GB, free: 7.945 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.642e-05/0.3882, allocations: 113.7 kB / 0.7909 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.3882, allocations: 4 kB / 0.7909 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.3884, allocations: 48.72 kB / 0.791 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3884, allocations: 0 / 0.791 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3884, allocations: 0 / 0.791 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.3884, allocations: 0 / 0.791 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.3886, allocations: 161.6 kB / 0.7911 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3886, allocations: 0 / 0.7911 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.3887, allocations: 15.98 kB / 0.7912 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3888, allocations: 0 / 0.7912 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.3888, allocations: 0 / 0.7912 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004264/0.3892, allocations: 0.5821 MB / 0.7917 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.3892, allocations: 7.938 kB / 0.7917 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.3893, allocations: 69.25 kB / 0.7918 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.3894, allocations: 77.11 kB / 0.7919 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.3894, allocations: 0 / 0.7919 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.414e-05/0.3895, allocations: 4 kB / 0.7919 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.3895, allocations: 3.984 kB / 0.7919 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.3895, allocations: 7.953 kB / 0.7919 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.083e-05/0.3896, allocations: 75.28 kB / 0.792 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.535e-06/0.3896, allocations: 4.125 kB / 0.792 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003315/0.3899, allocations: 15.88 kB / 0.792 GB, free: 6.637 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.0005415/0.3905, allocations: 0.6047 MB / 0.7926 GB, free: 6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.3907, allocations: 28.02 kB / 0.7926 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3907, allocations: 0 / 0.7926 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.3908, allocations: 15.92 kB / 0.7926 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.391, allocations: 2.438 kB / 0.7926 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005908/0.3916, allocations: 144.8 kB / 0.7927 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.392, allocations: 0.6809 MB / 0.7934 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.392e-05/0.392, allocations: 4.125 kB / 0.7934 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/0.392, allocations: 7.438 kB / 0.7934 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.3921, allocations: 0 / 0.7934 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.096/1.488, allocations: 1.141 MB / 0.7945 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004156/1.489, allocations: 252.7 kB / 0.7948 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.398/5.887, allocations: 2.406 kB / 0.7948 GB, free: 3.848 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) Environment - environmentSimulation: