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.001474/0.001474, allocations: 103 kB / 16.4 MB, free: 6.504 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.001748/0.001748, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7013/0.7013, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 60.7 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1355, allocations: 76.18 MB / 0.6316 GB, free: 4.941 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002393/0.138, allocations: 1.266 MB / 0.6328 GB, free: 3.664 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.139, allocations: 0.6191 MB / 0.6334 GB, free: 3.043 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.1391, allocations: 0 / 0.6334 GB, free: 3.043 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.1391, allocations: 0 / 0.6334 GB, free: 3.043 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.069e-05/0.1392, allocations: 3.938 kB / 0.6334 GB, free: 3.039 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006638/0.1398, allocations: 147.4 kB / 0.6336 GB, free: 2.895 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.138e-05/0.1399, allocations: 23.92 kB / 0.6336 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.14, allocations: 8 kB / 0.6336 GB, free: 2.863 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.47e-05/0.14, allocations: 11.94 kB / 0.6336 GB, free: 2.852 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.59e-05/0.1401, allocations: 15.97 kB / 0.6336 GB, free: 2.836 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1401, allocations: 4 kB / 0.6336 GB, free: 2.832 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004919/0.1406, allocations: 343.3 kB / 0.634 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.1406, allocations: 7.922 kB / 0.634 GB, free: 2.488 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.1406, allocations: 15.92 kB / 0.634 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.1409, allocations: 159.3 kB / 0.6341 GB, free: 2.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1409, allocations: 0 / 0.6341 GB, free: 2.32 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1409, allocations: 0 / 0.6341 GB, free: 2.32 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1409, allocations: 7.938 kB / 0.6341 GB, free: 2.312 MB / 478.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.0004112/0.1414, allocations: 367.4 kB / 0.6345 GB, free: 1.902 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1414, allocations: 12.03 kB / 0.6345 GB, free: 1.891 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.098e-05/0.1414, allocations: 30.75 kB / 0.6345 GB, free: 1.852 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.1415, allocations: 4.938 kB / 0.6345 GB, free: 1.848 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.1416, allocations: 168.3 kB / 0.6347 GB, free: 1.645 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1416, allocations: 4.375 kB / 0.6347 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.1416, allocations: 4.375 kB / 0.6347 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.1418, allocations: 58.23 kB / 0.6348 GB, free: 1.574 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1418, allocations: 3.938 kB / 0.6348 GB, free: 1.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1418, allocations: 0 / 0.6348 GB, free: 1.57 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1418, allocations: 0 / 0.6348 GB, free: 1.57 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.711e-05/0.1418, allocations: 19.98 kB / 0.6348 GB, free: 1.551 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.142, allocations: 165.6 kB / 0.6349 GB, free: 1.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.1421, allocations: 62.5 kB / 0.635 GB, free: 1.27 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.205e-05/0.1422, allocations: 32.84 kB / 0.635 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.1422, allocations: 7.984 kB / 0.635 GB, free: 1.227 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.1422, allocations: 30.56 kB / 0.6351 GB, free: 1.188 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.1422, allocations: 0 / 0.6351 GB, free: 1.188 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.001061/0.1433, allocations: 0.5917 MB / 0.6357 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.1433, allocations: 59.41 kB / 0.6357 GB, free: 444 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.187e-05/0.1434, allocations: 89.86 kB / 0.6358 GB, free: 344 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1434, allocations: 33.7 kB / 0.6358 GB, free: 304 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.686e-05/0.1435, allocations: 84.12 kB / 0.6359 GB, free: 216 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.1435, allocations: 31.47 kB / 0.6359 GB, free: 184 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.1436, allocations: 33.7 kB / 0.636 GB, free: 144 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1437, allocations: 314.8 kB / 0.6363 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.285e-05/0.1437, allocations: 28.05 kB / 0.6363 GB, free: 15.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.705e-05/0.1438, allocations: 31.92 kB / 0.6363 GB, free: 15.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.036e-05/0.1439, allocations: 50.61 kB / 0.6364 GB, free: 15.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1439, allocations: 0 / 0.6364 GB, free: 15.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001445/0.144, allocations: 101.5 kB / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.144, allocations: 4 kB / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.144, allocations: 4 kB / 0.6365 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1441, allocations: 0 / 0.6365 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.1442, allocations: 20.03 kB / 0.6365 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.1442, allocations: 3.938 kB / 0.6365 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.894e-05/0.1442, allocations: 15.98 kB / 0.6365 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.1442, allocations: 0 / 0.6365 GB, free: 15.56 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.392e-05/0.1443, allocations: 117.8 kB / 0.6366 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.1443, allocations: 11.94 kB / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.1445, allocations: 101.5 kB / 0.6367 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1445, allocations: 4 kB / 0.6367 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1445, allocations: 0 / 0.6367 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.1446, allocations: 3.984 kB / 0.6367 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003626/0.1449, allocations: 354.5 kB / 0.6371 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1449, allocations: 0 / 0.6371 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.145, allocations: 23.94 kB / 0.6371 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1451, allocations: 0 / 0.6371 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.1451, allocations: 0 / 0.6371 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1451, allocations: 0 / 0.6371 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1451, allocations: 7.984 kB / 0.6371 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.1453, allocations: 223.3 kB / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.1454, allocations: 89.11 kB / 0.6374 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.1454, allocations: 0 / 0.6374 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.1455, allocations: 4 kB / 0.6374 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/0.1455, allocations: 7.984 kB / 0.6374 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.1455, allocations: 4 kB / 0.6374 GB, free: 14.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.455e-05/0.1455, allocations: 79.28 kB / 0.6375 GB, free: 14.44 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1456, allocations: 0 / 0.6375 GB, free: 14.44 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1458, allocations: 39.92 kB / 0.6375 GB, free: 14.4 MB / 494.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 (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.0005609/0.1464, allocations: 0.7822 MB / 0.6383 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.1465, allocations: 64.47 kB / 0.6384 GB, free: 13.53 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1465, allocations: 0 / 0.6384 GB, free: 13.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.131e-05/0.1466, allocations: 39.92 kB / 0.6384 GB, free: 13.49 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.1468, allocations: 4.219 kB / 0.6384 GB, free: 13.49 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.1482, allocations: 1.514 MB / 0.6399 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.1484, allocations: 0.6846 MB / 0.6406 GB, free: 11.19 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.135e-05/0.1485, allocations: 7.984 kB / 0.6406 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.1485, allocations: 15.44 kB / 0.6406 GB, free: 11.17 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1485, allocations: 4 kB / 0.6406 GB, free: 11.16 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.1674, allocations: 2.091 MB / 0.6426 GB, free: 9.25 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.21/7.378, allocations: 7.031 kB / 0.6426 GB, free: 9.246 MB / 494.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/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)