Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",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.001541/0.001541, allocations: 96.66 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 174.8 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.507/2.507, allocations: 223.2 MB / 240.5 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.105/1.105, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000693/0.0006932, allocations: 8 kB / 493 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2968, allocations: 77.12 MB / 0.5567 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002288/0.2991, allocations: 0.9784 MB / 0.5577 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.3002, allocations: 317.3 kB / 0.558 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.3003, allocations: 3.938 kB / 0.558 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.244e-05/0.3003, allocations: 4 kB / 0.558 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.81e-05/0.3004, allocations: 7.984 kB / 0.558 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006001/0.301, allocations: 65.62 kB / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.288e-05/0.3011, allocations: 15.98 kB / 0.5581 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.347e-05/0.3012, allocations: 0 / 0.5581 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.701e-05/0.3013, allocations: 11.92 kB / 0.5581 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.291e-05/0.3013, allocations: 8 kB / 0.5581 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.3014, allocations: 0 / 0.5581 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005295/0.3019, allocations: 183.6 kB / 0.5583 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.302, allocations: 4 kB / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.302, allocations: 33.64 kB / 0.5583 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.3023, allocations: 56.16 kB / 0.5584 GB, free: 9.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3023, allocations: 0 / 0.5584 GB, free: 9.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3023, allocations: 0 / 0.5584 GB, free: 9.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3023, allocations: 0 / 0.5584 GB, free: 9.98 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006081/0.3029, allocations: 335.4 kB / 0.5587 GB, free: 9.605 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.668e-05/0.303, allocations: 8.031 kB / 0.5587 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.961e-05/0.3031, allocations: 34.55 kB / 0.5587 GB, free: 9.555 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.3032, allocations: 7.906 kB / 0.5587 GB, free: 9.547 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.3034, allocations: 163.1 kB / 0.5589 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.3034, allocations: 0 / 0.5589 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.3034, allocations: 7.953 kB / 0.5589 GB, free: 9.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.3036, allocations: 37.69 kB / 0.5589 GB, free: 9.297 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3036, allocations: 0 / 0.5589 GB, free: 9.297 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.3037, allocations: 4 kB / 0.5589 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3037, allocations: 0 / 0.5589 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.761e-05/0.3038, allocations: 11.94 kB / 0.5589 GB, free: 9.281 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.3041, allocations: 157.7 kB / 0.5591 GB, free: 9.078 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.3044, allocations: 46.7 kB / 0.5591 GB, free: 9.023 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.3044, allocations: 3.984 kB / 0.5591 GB, free: 9.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/0.3045, allocations: 34.52 kB / 0.5592 GB, free: 8.977 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.914e-06/0.3045, allocations: 0 / 0.5592 GB, free: 8.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.00108/0.3056, allocations: 314.5 kB / 0.5595 GB, free: 8.617 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.3057, allocations: 55.41 kB / 0.5595 GB, free: 8.551 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.3058, allocations: 101.8 kB / 0.5596 GB, free: 8.441 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.3059, allocations: 25.7 kB / 0.5597 GB, free: 8.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.3059, allocations: 88.08 kB / 0.5597 GB, free: 8.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.306, allocations: 15.72 kB / 0.5598 GB, free: 8.305 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.306, allocations: 0 / 0.5598 GB, free: 8.305 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.3062, allocations: 322.8 kB / 0.5601 GB, free: 7.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.798e-05/0.3063, allocations: 12 kB / 0.5601 GB, free: 7.969 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.893e-05/0.3063, allocations: 4 kB / 0.5601 GB, free: 7.965 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.169e-05/0.3064, allocations: 20 kB / 0.5601 GB, free: 7.945 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3064, allocations: 0 / 0.5601 GB, free: 7.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001884/0.3066, allocations: 61.69 kB / 0.5602 GB, free: 7.879 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.3067, allocations: 7.953 kB / 0.5602 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.3067, allocations: 0 / 0.5602 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3068, allocations: 3.938 kB / 0.5602 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.3069, allocations: 15.98 kB / 0.5602 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3069, allocations: 0 / 0.5602 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.307, allocations: 4 kB / 0.5602 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.307, allocations: 4 kB / 0.5602 GB, free: 7.844 MB / 430.1 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.3071, allocations: 109.8 kB / 0.5603 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.3072, allocations: 7.906 kB / 0.5603 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.3074, allocations: 89.81 kB / 0.5604 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.3074, allocations: 0 / 0.5604 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3075, allocations: 0 / 0.5604 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3075, allocations: 0 / 0.5604 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005418/0.308, allocations: 307.5 kB / 0.5607 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/0.3081, allocations: 7.984 kB / 0.5607 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.3082, allocations: 19.92 kB / 0.5607 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3082, allocations: 0 / 0.5607 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3082, allocations: 0 / 0.5607 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.3082, allocations: 4 kB / 0.5607 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3083, allocations: 0 / 0.5607 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.3086, allocations: 186.1 kB / 0.5609 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.491e-05/0.3087, allocations: 93.03 kB / 0.561 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.3087, allocations: 0 / 0.561 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.3088, allocations: 0 / 0.561 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.3089, allocations: 11.92 kB / 0.561 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.3089, allocations: 4 kB / 0.561 GB, free: 6.902 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.055e-05/0.309, allocations: 79.28 kB / 0.5611 GB, free: 6.824 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.309, allocations: 3.938 kB / 0.5611 GB, free: 6.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000483/0.3095, allocations: 23.94 kB / 0.5611 GB, free: 6.797 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008016/0.3103, allocations: 0.8079 MB / 0.5619 GB, free: 5.957 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.3105, allocations: 36.17 kB / 0.5619 GB, free: 5.922 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.3105, allocations: 0 / 0.5619 GB, free: 5.922 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.862e-05/0.3106, allocations: 20.06 kB / 0.5619 GB, free: 5.902 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.3109, allocations: 11.94 kB / 0.5619 GB, free: 5.891 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.3122, allocations: 499.6 kB / 0.5624 GB, free: 5.348 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.3125, allocations: 0.6809 MB / 0.5631 GB, free: 4.641 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.129e-05/0.3126, allocations: 4 kB / 0.5631 GB, free: 4.637 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.3127, allocations: 11.5 kB / 0.5631 GB, free: 4.625 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3127, allocations: 4 kB / 0.5631 GB, free: 4.621 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.3352, allocations: 1.384 MB / 0.5645 GB, free: 3.457 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003491/0.3357, allocations: 222.3 kB / 0.5647 GB, free: 3.215 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.151/3.487, allocations: 2.922 kB / 0.5647 GB, free: 3.215 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) Environment - environmentSimulation: