Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 109 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 192.5 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8194/0.8194, allocations: 132.2 MB / 429.4 MB, free: 5.992 MB / 334.1 MB " [Timeout remaining time 179] 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_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 64.58 kB / 0.5894 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1729, allocations: 80.21 MB / 0.6677 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002717/0.1756, allocations: 1.463 MB / 0.6691 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1768, allocations: 0.6381 MB / 0.6697 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.1769, allocations: 0 / 0.6697 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.015e-05/0.1769, allocations: 7.922 kB / 0.6698 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.593e-05/0.177, allocations: 7.938 kB / 0.6698 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005974/0.1776, allocations: 165.2 kB / 0.6699 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.1777, allocations: 51.84 kB / 0.67 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.043e-05/0.1777, allocations: 4 kB / 0.67 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.536e-05/0.1778, allocations: 23.91 kB / 0.67 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.1779, allocations: 27.86 kB / 0.67 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.1779, allocations: 4 kB / 0.67 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005208/0.1784, allocations: 351.3 kB / 0.6704 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.1785, allocations: 7.984 kB / 0.6704 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.109e-05/0.1785, allocations: 27.84 kB / 0.6704 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.1788, allocations: 175.6 kB / 0.6706 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1788, allocations: 4 kB / 0.6706 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1788, allocations: 0 / 0.6706 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.1788, allocations: 0 / 0.6706 GB, free: 6.887 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006718/0.1795, allocations: 402.9 kB / 0.671 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.1796, allocations: 12.03 kB / 0.671 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.1796, allocations: 30.75 kB / 0.671 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.1797, allocations: 12.89 kB / 0.671 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.1798, allocations: 176.3 kB / 0.6712 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.1799, allocations: 12.31 kB / 0.6712 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.1799, allocations: 12.12 kB / 0.6712 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.1801, allocations: 77.66 kB / 0.6713 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1802, allocations: 3.953 kB / 0.6713 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1802, allocations: 0 / 0.6713 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.433e-06/0.1802, allocations: 4 kB / 0.6713 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.1804, allocations: 47.95 kB / 0.6713 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005866/0.181, allocations: 328.6 kB / 0.6716 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.1813, allocations: 74.53 kB / 0.6717 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.1815, allocations: 28.84 kB / 0.6717 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1815, allocations: 0 / 0.6717 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.1815, allocations: 42.55 kB / 0.6718 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1815, allocations: 0 / 0.6718 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001717/0.1833, allocations: 0.6629 MB / 0.6724 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.1833, allocations: 51.41 kB / 0.6725 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.087e-05/0.1834, allocations: 97.86 kB / 0.6726 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.1834, allocations: 29.7 kB / 0.6726 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.1835, allocations: 96.02 kB / 0.6727 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.1836, allocations: 39.67 kB / 0.6727 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/0.1836, allocations: 29.72 kB / 0.6728 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1838, allocations: 322.8 kB / 0.6731 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1839, allocations: 27.98 kB / 0.6731 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.184, allocations: 35.34 kB / 0.6731 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.1843, allocations: 72.83 kB / 0.6732 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1843, allocations: 4 kB / 0.6732 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003264/0.1846, allocations: 125.7 kB / 0.6733 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1847, allocations: 8 kB / 0.6733 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1847, allocations: 0 / 0.6733 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.1847, allocations: 3.938 kB / 0.6733 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.1849, allocations: 23.98 kB / 0.6733 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.1849, allocations: 0 / 0.6733 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.515e-05/0.1849, allocations: 7.984 kB / 0.6734 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.185, allocations: 4 kB / 0.6734 GB, free: 3.711 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 (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 0.0001005/0.1851, allocations: 121.8 kB / 0.6735 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.1851, allocations: 11.95 kB / 0.6735 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/0.1855, allocations: 131 kB / 0.6736 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1855, allocations: 0 / 0.6736 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1855, allocations: 0 / 0.6736 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1855, allocations: 4 kB / 0.6736 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006016/0.1861, allocations: 374.4 kB / 0.674 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.1862, allocations: 7.984 kB / 0.674 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.1863, allocations: 28.02 kB / 0.674 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.1863, allocations: 7.938 kB / 0.674 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.1863, allocations: 4 kB / 0.674 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1863, allocations: 0 / 0.674 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1864, allocations: 0 / 0.674 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005248/0.1869, allocations: 253.2 kB / 0.6743 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/0.1869, allocations: 85.09 kB / 0.6743 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.187, allocations: 4 kB / 0.6743 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.1871, allocations: 7.984 kB / 0.6744 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.1871, allocations: 7.984 kB / 0.6744 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.1871, allocations: 8 kB / 0.6744 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.473e-05/0.1872, allocations: 79.28 kB / 0.6744 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1872, allocations: 0 / 0.6744 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000276/0.1875, allocations: 35.88 kB / 0.6745 GB, free: 2.453 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0009473/0.1884, allocations: 0.8215 MB / 0.6753 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003331/0.1888, allocations: 87.14 kB / 0.6754 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1888, allocations: 4.062 kB / 0.6754 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.1889, allocations: 50.31 kB / 0.6754 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.1893, allocations: 9.5 kB / 0.6754 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.1916, allocations: 1.606 MB / 0.677 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.192, allocations: 0.6963 MB / 0.6777 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.778e-05/0.1921, allocations: 16.66 kB / 0.6777 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.1922, allocations: 19.44 kB / 0.6777 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1922, allocations: 0 / 0.6777 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.22, allocations: 2.319 MB / 0.68 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.363/8.583, allocations: 12.89 kB / 0.68 GB, free: 12.87 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.010145680047572] Failed to read output from testmodel.py, exit status != 0: 8.649695909116417 8.669256128 8.487061657 Calling exit ...