Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",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.001232/0.001233, allocations: 96.73 kB / 15.69 MB, free: 480 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.002752/0.002752, allocations: 170.1 kB / 16.57 MB, free: 6.398 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.7/2.7, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.227/1.227, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 8 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3826, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.003123/0.3859, allocations: 0.9823 MB / 0.5577 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.3873, allocations: 357.3 kB / 0.558 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.756e-05/0.3874, allocations: 0 / 0.558 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.303e-05/0.3874, allocations: 3.938 kB / 0.558 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.897e-05/0.3875, allocations: 3.984 kB / 0.558 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006858/0.3882, allocations: 67.78 kB / 0.5581 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.3883, allocations: 23.95 kB / 0.5581 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.3884, allocations: 4 kB / 0.5581 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.93e-05/0.3885, allocations: 19.86 kB / 0.5581 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.3886, allocations: 12 kB / 0.5582 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.3887, allocations: 4 kB / 0.5582 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005054/0.3892, allocations: 175.7 kB / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.455e-05/0.3892, allocations: 11.98 kB / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.3893, allocations: 29.7 kB / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.3896, allocations: 60.14 kB / 0.5584 GB, free: 9.961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3896, allocations: 3.938 kB / 0.5584 GB, free: 9.957 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3896, allocations: 0 / 0.5584 GB, free: 9.957 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3896, allocations: 3.938 kB / 0.5584 GB, free: 9.953 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008898/0.3905, allocations: 345.1 kB / 0.5588 GB, free: 9.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.214e-05/0.3906, allocations: 8.031 kB / 0.5588 GB, free: 9.562 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.26e-05/0.3907, allocations: 34.56 kB / 0.5588 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.737e-05/0.3908, allocations: 3.906 kB / 0.5588 GB, free: 9.516 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.3911, allocations: 167.1 kB / 0.559 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.3912, allocations: 4 kB / 0.559 GB, free: 9.309 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.597e-05/0.3912, allocations: 7.953 kB / 0.559 GB, free: 9.301 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.3916, allocations: 49.69 kB / 0.559 GB, free: 9.246 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.3916, allocations: 3.938 kB / 0.559 GB, free: 9.242 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.3916, allocations: 4 kB / 0.559 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.3917, allocations: 0 / 0.559 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.3918, allocations: 23.92 kB / 0.5591 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007102/0.3926, allocations: 165.6 kB / 0.5592 GB, free: 9.004 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/0.393, allocations: 58.55 kB / 0.5593 GB, free: 8.938 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.356e-05/0.3931, allocations: 3.984 kB / 0.5593 GB, free: 8.934 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/0.3932, allocations: 38.75 kB / 0.5593 GB, free: 8.887 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 2.876e-06/0.3933, allocations: 4 kB / 0.5593 GB, free: 8.883 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.003475/0.3967, allocations: 0.5876 MB / 0.5599 GB, free: 8.203 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.973e-05/0.3969, allocations: 51.41 kB / 0.5599 GB, free: 8.141 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.3971, allocations: 97.86 kB / 0.56 GB, free: 8.035 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.3971, allocations: 29.7 kB / 0.5601 GB, free: 8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.3972, allocations: 80.14 kB / 0.5601 GB, free: 7.918 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.305e-05/0.3974, allocations: 39.44 kB / 0.5602 GB, free: 7.879 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.798e-05/0.3974, allocations: 4 kB / 0.5602 GB, free: 7.875 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003634/0.3978, allocations: 318.8 kB / 0.5605 GB, free: 7.555 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.341e-05/0.3979, allocations: 20 kB / 0.5605 GB, free: 7.535 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.077e-05/0.398, allocations: 19.98 kB / 0.5605 GB, free: 7.516 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.3981, allocations: 24 kB / 0.5605 GB, free: 7.492 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3981, allocations: 4.125 kB / 0.5605 GB, free: 7.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003164/0.3984, allocations: 101.5 kB / 0.5606 GB, free: 7.387 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.176e-05/0.3985, allocations: 10.34 kB / 0.5607 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.3985, allocations: 0 / 0.5607 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.911e-05/0.3985, allocations: 0 / 0.5607 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.3988, allocations: 23.94 kB / 0.5607 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.036e-05/0.3988, allocations: 4.094 kB / 0.5607 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.3989, allocations: 3.938 kB / 0.5607 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.3989, allocations: 7.984 kB / 0.5607 GB, free: 7.34 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 (13): * Single equations (assignments): 13 * 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.0002104/0.3991, allocations: 117.8 kB / 0.5608 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.3992, allocations: 11.86 kB / 0.5608 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.3995, allocations: 107.9 kB / 0.5609 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.3996, allocations: 4 kB / 0.5609 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.3996, allocations: 0 / 0.5609 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.3996, allocations: 3.984 kB / 0.5609 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.4007, allocations: 338.6 kB / 0.5612 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.4008, allocations: 3.984 kB / 0.5612 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.401, allocations: 27.94 kB / 0.5613 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.401, allocations: 0 / 0.5613 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.401, allocations: 4 kB / 0.5613 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.4011, allocations: 0 / 0.5613 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4011, allocations: 3.938 kB / 0.5613 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005782/0.4017, allocations: 215.4 kB / 0.5615 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.4018, allocations: 84.97 kB / 0.5616 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.4018, allocations: 4.031 kB / 0.5616 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.402, allocations: 4.062 kB / 0.5616 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.4021, allocations: 15.92 kB / 0.5616 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.4021, allocations: 4 kB / 0.5616 GB, free: 6.305 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.4023, allocations: 75.28 kB / 0.5617 GB, free: 6.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4023, allocations: 0 / 0.5617 GB, free: 6.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006253/0.4029, allocations: 35.98 kB / 0.5617 GB, free: 6.195 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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 (11): * Single equations (assignments): 11 * 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.001467/0.4044, allocations: 0.7889 MB / 0.5625 GB, free: 5.383 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003625/0.4048, allocations: 59.86 kB / 0.5625 GB, free: 5.324 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.4048, allocations: 4 kB / 0.5625 GB, free: 5.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.586e-05/0.4049, allocations: 35.92 kB / 0.5626 GB, free: 5.285 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.4052, allocations: 0 / 0.5626 GB, free: 5.285 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.4077, allocations: 0.6509 MB / 0.5632 GB, free: 4.578 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/0.4083, allocations: 0.6887 MB / 0.5639 GB, free: 3.863 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.4085, allocations: 16.05 kB / 0.5639 GB, free: 3.848 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.249e-05/0.4086, allocations: 17.12 kB / 0.5639 GB, free: 3.832 MB / 430.1 MB Notification: Performance of SimCode: time 1.633e-06/0.4086, allocations: 0 / 0.5639 GB, free: 3.832 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03203/0.4406, allocations: 1.8 MB / 0.5657 GB, free: 2.246 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006718/0.4414, allocations: 221.5 kB / 0.5659 GB, free: 2.008 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.912/3.354, allocations: 3.938 kB / 0.5659 GB, free: 2.004 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) Environment - environmentSimulation: