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.001202/0.001202, allocations: 105.9 kB / 15.99 MB, free: 5.906 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.001197/0.001197, allocations: 196 kB / 16.91 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6927/0.6927, allocations: 115.3 MB / 406.1 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.91 kB / 493.2 MB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.303, allocations: 76.17 MB / 0.556 GB, free: 36.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002024/0.3051, allocations: 1.334 MB / 0.5573 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007576/0.3058, allocations: 0.613 MB / 0.5579 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.908e-05/0.3059, allocations: 3.938 kB / 0.5579 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.499e-05/0.3059, allocations: 0 / 0.5579 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.361e-05/0.3059, allocations: 9.344 kB / 0.5579 GB, free: 34.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004937/0.3064, allocations: 127.3 kB / 0.5581 GB, free: 34.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.229e-05/0.3065, allocations: 17.25 kB / 0.5581 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.148e-05/0.3065, allocations: 5.484 kB / 0.5581 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.167e-05/0.3066, allocations: 9.969 kB / 0.5581 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.898e-05/0.3066, allocations: 10.86 kB / 0.5581 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.3066, allocations: 1.219 kB / 0.5581 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004047/0.307, allocations: 345.3 kB / 0.5584 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.307, allocations: 2.109 kB / 0.5584 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.3071, allocations: 13.06 kB / 0.5584 GB, free: 34.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.3073, allocations: 149.5 kB / 0.5586 GB, free: 34.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3073, allocations: 1.219 kB / 0.5586 GB, free: 34.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3073, allocations: 2.906 kB / 0.5586 GB, free: 34.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.3073, allocations: 0 / 0.5586 GB, free: 34.61 MB / 446.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.0003094/0.3076, allocations: 353.1 kB / 0.5589 GB, free: 34.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3077, allocations: 10.8 kB / 0.5589 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.203e-05/0.3077, allocations: 32.34 kB / 0.559 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.3077, allocations: 6.094 kB / 0.559 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.696e-05/0.3078, allocations: 173.6 kB / 0.5591 GB, free: 33.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.3078, allocations: 6.5 kB / 0.5592 GB, free: 33.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.3078, allocations: 1.812 kB / 0.5592 GB, free: 33.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.354e-05/0.3079, allocations: 44.95 kB / 0.5592 GB, free: 33.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.932e-06/0.308, allocations: 3.938 kB / 0.5592 GB, free: 33.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.308, allocations: 1.312 kB / 0.5592 GB, free: 33.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.308, allocations: 1.844 kB / 0.5592 GB, free: 33.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.495e-05/0.308, allocations: 9.25 kB / 0.5592 GB, free: 33.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.3081, allocations: 158.2 kB / 0.5594 GB, free: 33.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.3083, allocations: 42.17 kB / 0.5594 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.733e-05/0.3083, allocations: 17.77 kB / 0.5594 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.3083, allocations: 3.594 kB / 0.5594 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.3084, allocations: 40.97 kB / 0.5595 GB, free: 33.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.3084, allocations: 0 / 0.5595 GB, free: 33.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.000508/0.3089, allocations: 312.9 kB / 0.5598 GB, free: 33.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/0.3089, allocations: 52.11 kB / 0.5598 GB, free: 33.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.177e-05/0.309, allocations: 100.5 kB / 0.5599 GB, free: 33.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.309, allocations: 27.02 kB / 0.5599 GB, free: 33.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.326e-05/0.309, allocations: 80.67 kB / 0.56 GB, free: 33.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.309, allocations: 24.84 kB / 0.56 GB, free: 33.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.3091, allocations: 21.48 kB / 0.5601 GB, free: 33.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.467e-05/0.3091, allocations: 314.3 kB / 0.5604 GB, free: 32.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/0.3091, allocations: 15.22 kB / 0.5604 GB, free: 32.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.101e-05/0.3092, allocations: 13.3 kB / 0.5604 GB, free: 32.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.889e-05/0.3092, allocations: 34.22 kB / 0.5604 GB, free: 32.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3092, allocations: 4.703 kB / 0.5604 GB, free: 32.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.647e-05/0.3093, allocations: 75.61 kB / 0.5605 GB, free: 32.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3093, allocations: 5.953 kB / 0.5605 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3093, allocations: 1.547 kB / 0.5605 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.3093, allocations: 1.188 kB / 0.5605 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.355e-05/0.3094, allocations: 11.06 kB / 0.5605 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.3094, allocations: 6.172 kB / 0.5605 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.81e-05/0.3094, allocations: 0.7812 kB / 0.5605 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.3095, allocations: 2.031 kB / 0.5605 GB, free: 32.65 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.435e-05/0.3095, allocations: 114.6 kB / 0.5606 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.3095, allocations: 10.05 kB / 0.5606 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.3096, allocations: 70.7 kB / 0.5607 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3097, allocations: 1.312 kB / 0.5607 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3097, allocations: 0 / 0.5607 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3097, allocations: 1.891 kB / 0.5607 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.3099, allocations: 312.5 kB / 0.561 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3099, allocations: 1.938 kB / 0.561 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-05/0.31, allocations: 11.53 kB / 0.561 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.31, allocations: 0.75 kB / 0.561 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.31, allocations: 5.938 kB / 0.561 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.31, allocations: 3.281 kB / 0.561 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.31, allocations: 0.7031 kB / 0.561 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.3101, allocations: 185.3 kB / 0.5612 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.3102, allocations: 82.72 kB / 0.5613 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.3102, allocations: 3.719 kB / 0.5613 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.146e-05/0.3103, allocations: 10.05 kB / 0.5613 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.3103, allocations: 4.469 kB / 0.5613 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.3103, allocations: 6.844 kB / 0.5613 GB, free: 31.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.847e-05/0.3103, allocations: 78.78 kB / 0.5614 GB, free: 31.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3103, allocations: 0 / 0.5614 GB, free: 31.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.3106, allocations: 21.47 kB / 0.5614 GB, free: 31.8 MB / 446.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 (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.0003364/0.3109, allocations: 0.7355 MB / 0.5621 GB, free: 31.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.757e-05/0.311, allocations: 37.06 kB / 0.5622 GB, free: 31.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3111, allocations: 2.344 kB / 0.5622 GB, free: 31.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.711e-05/0.3111, allocations: 21.05 kB / 0.5622 GB, free: 31.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.3113, allocations: 7.062 kB / 0.5622 GB, free: 31.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008902/0.3122, allocations: 1.318 MB / 0.5635 GB, free: 29.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.867e-05/0.3123, allocations: 0.6807 MB / 0.5641 GB, free: 29.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.08e-05/0.3123, allocations: 4.844 kB / 0.5641 GB, free: 29.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.3124, allocations: 16.7 kB / 0.5642 GB, free: 29.15 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3124, allocations: 0 / 0.5642 GB, free: 29.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01223/0.3246, allocations: 1.518 MB / 0.5656 GB, free: 28.97 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001315/0.3248, allocations: 250.2 kB / 0.5659 GB, free: 28.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/1.986, allocations: 2.234 kB / 0.5659 GB, free: 28.71 MB / 446.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/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)