Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.001345/0.001345, allocations: 108.2 kB / 16.4 MB, free: 6.484 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.001471/0.001471, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.317/1.317, 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.6987/0.6987, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 61.95 kB / 0.5572 GB, free: 32.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1346, allocations: 76.18 MB / 0.6316 GB, free: 5.035 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002404/0.1371, allocations: 1.257 MB / 0.6328 GB, free: 3.77 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.1381, allocations: 0.6113 MB / 0.6334 GB, free: 3.156 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/0.1381, allocations: 0 / 0.6334 GB, free: 3.156 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.1382, allocations: 3.984 kB / 0.6334 GB, free: 3.152 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.965e-05/0.1383, allocations: 11.86 kB / 0.6334 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000618/0.1389, allocations: 145.8 kB / 0.6336 GB, free: 3 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.556e-05/0.139, allocations: 19.92 kB / 0.6336 GB, free: 2.98 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.139, allocations: 0 / 0.6336 GB, free: 2.98 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.801e-05/0.139, allocations: 7.984 kB / 0.6336 GB, free: 2.973 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.028e-05/0.1391, allocations: 11.94 kB / 0.6336 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.1391, allocations: 4 kB / 0.6336 GB, free: 2.957 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005034/0.1396, allocations: 339.3 kB / 0.6339 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.1397, allocations: 7.969 kB / 0.6339 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.1397, allocations: 11.94 kB / 0.634 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.14, allocations: 147.1 kB / 0.6341 GB, free: 2.465 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.14, allocations: 0 / 0.6341 GB, free: 2.465 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.14, allocations: 4 kB / 0.6341 GB, free: 2.461 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.14, allocations: 0 / 0.6341 GB, free: 2.461 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003932/0.1404, allocations: 363.6 kB / 0.6344 GB, free: 2.055 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1405, allocations: 8.031 kB / 0.6344 GB, free: 2.047 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.051e-05/0.1405, allocations: 30.75 kB / 0.6345 GB, free: 2.008 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.1405, allocations: 4.938 kB / 0.6345 GB, free: 2.004 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.1406, allocations: 160.4 kB / 0.6346 GB, free: 1.809 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.1407, allocations: 384 / 0.6346 GB, free: 1.809 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.1407, allocations: 12.36 kB / 0.6346 GB, free: 1.797 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.1408, allocations: 42.19 kB / 0.6347 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1408, allocations: 7.938 kB / 0.6347 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1408, allocations: 8 kB / 0.6347 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1408, allocations: 0 / 0.6347 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.933e-05/0.1409, allocations: 7.984 kB / 0.6347 GB, free: 1.727 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.1411, allocations: 161.6 kB / 0.6349 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.1412, allocations: 42.61 kB / 0.6349 GB, free: 1.469 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.1413, allocations: 20.86 kB / 0.6349 GB, free: 1.445 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.1413, allocations: 8.016 kB / 0.6349 GB, free: 1.438 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.1413, allocations: 30.56 kB / 0.635 GB, free: 1.398 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1413, allocations: 0 / 0.635 GB, free: 1.398 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005924/0.1419, allocations: 318.1 kB / 0.6353 GB, free: 1.035 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.142, allocations: 51.41 kB / 0.6353 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.254e-05/0.1421, allocations: 101.8 kB / 0.6354 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1421, allocations: 29.7 kB / 0.6354 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.1421, allocations: 80.14 kB / 0.6355 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.1421, allocations: 19.75 kB / 0.6355 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.1422, allocations: 21.7 kB / 0.6356 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.182e-05/0.1423, allocations: 310.8 kB / 0.6359 GB, free: 396 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/0.1423, allocations: 12 kB / 0.6359 GB, free: 384 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.285e-05/0.1423, allocations: 15.98 kB / 0.6359 GB, free: 368 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.416e-05/0.1424, allocations: 40.73 kB / 0.6359 GB, free: 324 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1424, allocations: 0 / 0.6359 GB, free: 324 kB / 478.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.755e-05/0.1425, allocations: 73.52 kB / 0.636 GB, free: 244 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1425, allocations: 8 kB / 0.636 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1426, allocations: 0 / 0.636 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1426, allocations: 0 / 0.636 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.801e-05/0.1426, allocations: 8 kB / 0.636 GB, free: 228 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1426, allocations: 4 kB / 0.636 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.735e-05/0.1427, allocations: 0 / 0.636 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.1427, allocations: 240 / 0.636 GB, free: 224 kB / 478.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 7.854e-05/0.1427, allocations: 125.8 kB / 0.6361 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.1428, allocations: 3.938 kB / 0.6361 GB, free: 84 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.1429, allocations: 69.64 kB / 0.6362 GB, free: 0 / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/0.1429, allocations: 4.562 kB / 0.6362 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1429, allocations: 128 / 0.6362 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.143, allocations: 4 kB / 0.6362 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.1433, allocations: 315.3 kB / 0.6365 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1433, allocations: 0 / 0.6365 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/0.1433, allocations: 16.03 kB / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1433, allocations: 0 / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.1434, allocations: 3.938 kB / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1434, allocations: 0 / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.1434, allocations: 7.984 kB / 0.6365 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.1435, allocations: 188.2 kB / 0.6367 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.1436, allocations: 85.14 kB / 0.6368 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.1436, allocations: 8.047 kB / 0.6368 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-05/0.1437, allocations: 0 / 0.6368 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.1437, allocations: 4 kB / 0.6368 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.1437, allocations: 0 / 0.6368 GB, free: 15.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.336e-05/0.1438, allocations: 83.28 kB / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1438, allocations: 0 / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.144, allocations: 23.98 kB / 0.6369 GB, free: 15.18 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0004695/0.1445, allocations: 0.7366 MB / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.1446, allocations: 28 kB / 0.6377 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1446, allocations: 4 kB / 0.6377 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.689e-05/0.1447, allocations: 15.92 kB / 0.6377 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.1449, allocations: 8 kB / 0.6377 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.1461, allocations: 1.323 MB / 0.639 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.1463, allocations: 0.6845 MB / 0.6396 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.037e-05/0.1463, allocations: 8.062 kB / 0.6396 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.1464, allocations: 15.44 kB / 0.6397 GB, free: 12.21 MB / 494.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1464, allocations: 0 / 0.6397 GB, free: 12.21 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.1656, allocations: 1.6 MB / 0.6412 GB, free: 10.77 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.349/7.515, allocations: 16.17 kB / 0.6412 GB, free: 10.75 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)