Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_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.006666/0.006666, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.001836/0.001837, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8405/0.8405, allocations: 135.6 MB / 426.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 71.23 kB / 0.5857 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1358, allocations: 81.03 MB / 0.6649 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002247/0.138, allocations: 1.257 MB / 0.6661 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1391, allocations: 0.6113 MB / 0.6667 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.1391, allocations: 4 kB / 0.6667 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.1392, allocations: 3.938 kB / 0.6667 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.77e-05/0.1392, allocations: 3.938 kB / 0.6667 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005146/0.1397, allocations: 154.1 kB / 0.6669 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.313e-05/0.1398, allocations: 19.92 kB / 0.6669 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.1399, allocations: 0 / 0.6669 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.577e-05/0.1399, allocations: 7.938 kB / 0.6669 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.854e-05/0.14, allocations: 11.98 kB / 0.6669 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.14, allocations: 8 kB / 0.6669 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005613/0.1405, allocations: 343.3 kB / 0.6672 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.828e-06/0.1406, allocations: 0 / 0.6672 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.1406, allocations: 7.938 kB / 0.6672 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.1409, allocations: 151.8 kB / 0.6674 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1409, allocations: 0 / 0.6674 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1409, allocations: 0 / 0.6674 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.1409, allocations: 0 / 0.6674 GB, free: 3.039 MB / 0.4981 GB 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.000466/0.1414, allocations: 363.1 kB / 0.6677 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1414, allocations: 9.109 kB / 0.6677 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.1415, allocations: 38.75 kB / 0.6678 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.1415, allocations: 4.938 kB / 0.6678 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.1416, allocations: 172.2 kB / 0.6679 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.1417, allocations: 384 / 0.6679 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.1417, allocations: 8.125 kB / 0.6679 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.1418, allocations: 41.62 kB / 0.668 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1418, allocations: 0 / 0.668 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.1418, allocations: 4 kB / 0.668 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.1418, allocations: 0 / 0.668 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.061e-05/0.1419, allocations: 8 kB / 0.668 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.1421, allocations: 161.7 kB / 0.6682 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.1423, allocations: 46.55 kB / 0.6682 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.929e-05/0.1423, allocations: 24.88 kB / 0.6682 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.1424, allocations: 0 / 0.6682 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.1424, allocations: 30.56 kB / 0.6682 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1424, allocations: 4 kB / 0.6683 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006685/0.1431, allocations: 302.3 kB / 0.6685 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.1431, allocations: 55.41 kB / 0.6686 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.568e-05/0.1432, allocations: 98.17 kB / 0.6687 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1432, allocations: 25.7 kB / 0.6687 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.1433, allocations: 80.14 kB / 0.6688 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.1433, allocations: 27.78 kB / 0.6688 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.1434, allocations: 25.7 kB / 0.6688 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1435, allocations: 314.8 kB / 0.6691 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.1436, allocations: 8 kB / 0.6691 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.228e-05/0.1436, allocations: 19.92 kB / 0.6692 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.762e-05/0.1437, allocations: 45 kB / 0.6692 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1437, allocations: 3.938 kB / 0.6692 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000117/0.1438, allocations: 57.88 kB / 0.6693 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1438, allocations: 8 kB / 0.6693 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.1438, allocations: 0 / 0.6693 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1439, allocations: 0 / 0.6693 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.224e-05/0.1439, allocations: 15.98 kB / 0.6693 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1439, allocations: 7.938 kB / 0.6693 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.144, allocations: 7.984 kB / 0.6693 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.144, allocations: 0 / 0.6693 GB, free: 0.7852 MB / 0.4981 GB 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 8.62e-05/0.1441, allocations: 113.8 kB / 0.6694 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.1441, allocations: 3.953 kB / 0.6694 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.1442, allocations: 69.66 kB / 0.6695 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1442, allocations: 4 kB / 0.6695 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1443, allocations: 4 kB / 0.6695 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.1443, allocations: 7.922 kB / 0.6695 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.1446, allocations: 315.3 kB / 0.6698 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1446, allocations: 0 / 0.6698 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.501e-05/0.1447, allocations: 12 kB / 0.6698 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1447, allocations: 0 / 0.6698 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.1447, allocations: 0 / 0.6698 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1447, allocations: 3.938 kB / 0.6698 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.1447, allocations: 7.984 kB / 0.6698 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.145, allocations: 180.4 kB / 0.67 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.748e-05/0.1451, allocations: 89.03 kB / 0.6701 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.1451, allocations: 4.188 kB / 0.6701 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.1452, allocations: 4 kB / 0.6701 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/0.1452, allocations: 4 kB / 0.6701 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.1452, allocations: 3.938 kB / 0.6701 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.649e-05/0.1452, allocations: 87.33 kB / 0.6702 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1452, allocations: 0 / 0.6702 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002502/0.1455, allocations: 23.94 kB / 0.6702 GB, free: 15.75 MB / 0.5137 GB 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.0005569/0.1461, allocations: 0.7249 MB / 0.6709 GB, free: 15 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.1462, allocations: 43.98 kB / 0.671 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.1462, allocations: 0 / 0.671 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.427e-05/0.1462, allocations: 12 kB / 0.671 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.1465, allocations: 7.938 kB / 0.671 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.1478, allocations: 1.33 MB / 0.6723 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.1481, allocations: 0.6807 MB / 0.6729 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.286e-05/0.1482, allocations: 8.297 kB / 0.6729 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.1482, allocations: 11.44 kB / 0.673 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1482, allocations: 0 / 0.673 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1834/0.3316, allocations: 1.599 MB / 0.6745 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.527/8.859, allocations: 0.625 kB / 0.6745 GB, free: 11.34 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)