Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_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.001477/0.001477, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001334/0.001334, allocations: 197.2 kB / 16.14 MB, free: 6.66 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.284/1.284, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.74/0.74, allocations: 132.2 MB / 422.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 64.12 kB / 0.5012 GB, free: 9.094 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1272, allocations: 80.2 MB / 0.5795 GB, free: 9.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002082/0.1293, allocations: 1.329 MB / 0.5808 GB, free: 7.766 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009336/0.1303, allocations: 0.6401 MB / 0.5814 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.335e-05/0.1303, allocations: 0 / 0.5814 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.1303, allocations: 3.984 kB / 0.5814 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.347e-05/0.1304, allocations: 3.938 kB / 0.5814 GB, free: 7.117 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.1308, allocations: 119.6 kB / 0.5816 GB, free: 7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.104e-05/0.1308, allocations: 23.92 kB / 0.5816 GB, free: 6.977 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.1309, allocations: 4 kB / 0.5816 GB, free: 6.973 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.825e-05/0.1309, allocations: 4 kB / 0.5816 GB, free: 6.969 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.037e-05/0.131, allocations: 15.92 kB / 0.5816 GB, free: 6.953 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.131, allocations: 0 / 0.5816 GB, free: 6.953 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004479/0.1314, allocations: 343.3 kB / 0.5819 GB, free: 6.617 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.688e-06/0.1315, allocations: 4 kB / 0.5819 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.1315, allocations: 11.94 kB / 0.5819 GB, free: 6.602 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.1317, allocations: 151.9 kB / 0.5821 GB, free: 6.453 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1317, allocations: 0 / 0.5821 GB, free: 6.453 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1317, allocations: 0 / 0.5821 GB, free: 6.453 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.1317, allocations: 4 kB / 0.5821 GB, free: 6.449 MB / 494.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.0003491/0.1321, allocations: 360.9 kB / 0.5824 GB, free: 6.051 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1321, allocations: 12.03 kB / 0.5825 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.722e-05/0.1322, allocations: 34.73 kB / 0.5825 GB, free: 5.996 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.1322, allocations: 0.9375 kB / 0.5825 GB, free: 5.996 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.499e-05/0.1323, allocations: 164.4 kB / 0.5826 GB, free: 5.797 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.1323, allocations: 384 / 0.5826 GB, free: 5.797 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.1323, allocations: 8.312 kB / 0.5827 GB, free: 5.789 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.962e-05/0.1324, allocations: 45.62 kB / 0.5827 GB, free: 5.738 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.1324, allocations: 0 / 0.5827 GB, free: 5.738 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1325, allocations: 4 kB / 0.5827 GB, free: 5.734 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.1325, allocations: 0 / 0.5827 GB, free: 5.734 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.507e-05/0.1325, allocations: 11.98 kB / 0.5827 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.1326, allocations: 157.6 kB / 0.5829 GB, free: 5.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.1328, allocations: 46.5 kB / 0.5829 GB, free: 5.465 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.064e-05/0.1329, allocations: 20.86 kB / 0.5829 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.1329, allocations: 3.938 kB / 0.5829 GB, free: 5.438 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1329, allocations: 34.56 kB / 0.583 GB, free: 5.395 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1329, allocations: 3.938 kB / 0.583 GB, free: 5.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005331/0.1335, allocations: 306.6 kB / 0.5833 GB, free: 5.039 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.1335, allocations: 51.41 kB / 0.5833 GB, free: 4.977 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.678e-05/0.1336, allocations: 97.84 kB / 0.5834 GB, free: 4.871 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.1336, allocations: 37.64 kB / 0.5834 GB, free: 4.828 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.701e-05/0.1336, allocations: 84.14 kB / 0.5835 GB, free: 4.742 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.1336, allocations: 15.7 kB / 0.5835 GB, free: 4.727 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.1337, allocations: 21.72 kB / 0.5836 GB, free: 4.699 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.817e-05/0.1338, allocations: 314.8 kB / 0.5839 GB, free: 4.383 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.551e-05/0.1338, allocations: 15.97 kB / 0.5839 GB, free: 4.367 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.068e-05/0.1338, allocations: 8 kB / 0.5839 GB, free: 4.359 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.39e-05/0.1339, allocations: 36.95 kB / 0.5839 GB, free: 4.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1339, allocations: 4 kB / 0.5839 GB, free: 4.316 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.26e-05/0.134, allocations: 69.61 kB / 0.584 GB, free: 4.242 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.134, allocations: 4 kB / 0.584 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.134, allocations: 4.062 kB / 0.584 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.134, allocations: 0 / 0.584 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.932e-05/0.1341, allocations: 15.98 kB / 0.584 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1341, allocations: 0 / 0.584 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.1341, allocations: 4 kB / 0.584 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1341, allocations: 0 / 0.584 GB, free: 4.215 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 (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 5.962e-05/0.1342, allocations: 122.4 kB / 0.5841 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.1342, allocations: 4 kB / 0.5841 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.1344, allocations: 73.64 kB / 0.5842 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1344, allocations: 0 / 0.5842 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1344, allocations: 0 / 0.5842 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1344, allocations: 0 / 0.5842 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.1347, allocations: 315.3 kB / 0.5845 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1347, allocations: 4 kB / 0.5845 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.178e-05/0.1347, allocations: 11.98 kB / 0.5845 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1348, allocations: 4.031 kB / 0.5845 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1348, allocations: 4 kB / 0.5845 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1348, allocations: 0 / 0.5845 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1348, allocations: 3.938 kB / 0.5845 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.135, allocations: 172.3 kB / 0.5847 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.135, allocations: 89.12 kB / 0.5848 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.135, allocations: 3.938 kB / 0.5848 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.1351, allocations: 8.062 kB / 0.5848 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.1351, allocations: 4.172 kB / 0.5848 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.1351, allocations: 8 kB / 0.5848 GB, free: 3.293 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.263e-05/0.1352, allocations: 83.22 kB / 0.5849 GB, free: 3.211 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1352, allocations: 0 / 0.5849 GB, free: 3.211 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.1354, allocations: 23.94 kB / 0.5849 GB, free: 3.188 MB / 494.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.0004608/0.1359, allocations: 0.7366 MB / 0.5856 GB, free: 2.418 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.037e-05/0.136, allocations: 39.86 kB / 0.5857 GB, free: 2.379 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.136, allocations: 0 / 0.5857 GB, free: 2.379 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.12e-05/0.1361, allocations: 16 kB / 0.5857 GB, free: 2.363 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.1363, allocations: 8.688 kB / 0.5857 GB, free: 2.355 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.1373, allocations: 1.329 MB / 0.587 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.1376, allocations: 0.681 MB / 0.5876 GB, free: 240 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.308e-05/0.1376, allocations: 8.25 kB / 0.5876 GB, free: 232 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.1376, allocations: 11.44 kB / 0.5877 GB, free: 220 kB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1376, allocations: 0 / 0.5877 GB, free: 220 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1784/0.316, allocations: 1.461 MB / 0.5891 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/0.3163, allocations: 241.3 kB / 0.5893 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.022, allocations: 0 / 0.5893 GB, free: 14.68 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)