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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 119.3 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 209.5 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.401/1.401, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.8351/0.8351, allocations: 133.9 MB / 443.5 MB, free: 13.79 MB / 350.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 66.47 kB / 0.6141 GB, free: 38.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1452, allocations: 85.84 MB / 0.6979 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002668/0.1479, allocations: 1.492 MB / 0.6994 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.149, allocations: 0.6307 MB / 0.7 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.149, allocations: 7.938 kB / 0.7 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.149, allocations: 7.922 kB / 0.7 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.795e-05/0.1491, allocations: 5.312 kB / 0.7 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.1496, allocations: 155.5 kB / 0.7002 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.1497, allocations: 57.53 kB / 0.7002 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.1498, allocations: 2.75 kB / 0.7002 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.275e-05/0.1498, allocations: 30.91 kB / 0.7003 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.475e-05/0.1499, allocations: 26.78 kB / 0.7003 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.1499, allocations: 4.125 kB / 0.7003 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004753/0.1504, allocations: 345.1 kB / 0.7006 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.1504, allocations: 13.3 kB / 0.7006 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.1504, allocations: 28.16 kB / 0.7007 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.1507, allocations: 177.4 kB / 0.7008 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1507, allocations: 1.406 kB / 0.7008 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1507, allocations: 0 / 0.7008 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.1507, allocations: 0 / 0.7008 GB, free: 11.54 MB / 0.5137 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.0006815/0.1514, allocations: 409.8 kB / 0.7012 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1515, allocations: 12.55 kB / 0.7012 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.335e-05/0.1515, allocations: 1.781 kB / 0.7012 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.758e-05/0.1515, allocations: 36 kB / 0.7013 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.1515, allocations: 8.656 kB / 0.7013 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.1517, allocations: 179.2 kB / 0.7015 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.1517, allocations: 7.094 kB / 0.7015 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.1518, allocations: 8.188 kB / 0.7015 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.152, allocations: 81.88 kB / 0.7016 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.152, allocations: 5.469 kB / 0.7016 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.152, allocations: 0 / 0.7016 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.152, allocations: 1.906 kB / 0.7016 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.1523, allocations: 48.67 kB / 0.7016 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005717/0.1529, allocations: 320.2 kB / 0.7019 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.1532, allocations: 82.64 kB / 0.702 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.1533, allocations: 26.78 kB / 0.702 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.1533, allocations: 3.984 kB / 0.702 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.1533, allocations: 36.28 kB / 0.7021 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.1533, allocations: 4 kB / 0.7021 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001709/0.155, allocations: 0.6527 MB / 0.7027 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.1551, allocations: 59.41 kB / 0.7028 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.778e-05/0.1552, allocations: 93.86 kB / 0.7028 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.1552, allocations: 29.7 kB / 0.7029 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/0.1552, allocations: 92.08 kB / 0.703 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.1553, allocations: 51.56 kB / 0.703 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.1553, allocations: 21.72 kB / 0.703 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1555, allocations: 322.8 kB / 0.7033 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.1556, allocations: 31.98 kB / 0.7034 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.1558, allocations: 31.97 kB / 0.7034 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.156, allocations: 75.45 kB / 0.7035 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.156, allocations: 0 / 0.7035 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003409/0.1564, allocations: 121.7 kB / 0.7036 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1564, allocations: 5.562 kB / 0.7036 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1564, allocations: 7.938 kB / 0.7036 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1564, allocations: 4 kB / 0.7036 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.1565, allocations: 27.92 kB / 0.7036 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1565, allocations: 0 / 0.7036 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.06e-05/0.1566, allocations: 11.98 kB / 0.7036 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1566, allocations: 4 kB / 0.7036 GB, free: 8.715 MB / 0.5137 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 8.641e-05/0.1567, allocations: 114.4 kB / 0.7038 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.1568, allocations: 4 kB / 0.7038 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003907/0.1571, allocations: 136.2 kB / 0.7039 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1571, allocations: 0 / 0.7039 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1571, allocations: 0 / 0.7039 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1572, allocations: 0 / 0.7039 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006147/0.1578, allocations: 394.3 kB / 0.7043 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1578, allocations: 0 / 0.7043 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.1579, allocations: 27.98 kB / 0.7043 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1579, allocations: 4 kB / 0.7043 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1579, allocations: 0 / 0.7043 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.1579, allocations: 4 kB / 0.7043 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1579, allocations: 96 / 0.7043 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.1585, allocations: 255.2 kB / 0.7045 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.1585, allocations: 81.06 kB / 0.7046 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.1585, allocations: 8.094 kB / 0.7046 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.1587, allocations: 11.98 kB / 0.7046 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/0.1587, allocations: 7.984 kB / 0.7046 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.1587, allocations: 0 / 0.7046 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.493e-05/0.1587, allocations: 83.45 kB / 0.7047 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1587, allocations: 0 / 0.7047 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000278/0.159, allocations: 39.88 kB / 0.7048 GB, free: 7.457 MB / 0.5137 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.0009377/0.16, allocations: 0.8241 MB / 0.7056 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003243/0.1603, allocations: 71.95 kB / 0.7056 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1603, allocations: 4 kB / 0.7056 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.1604, allocations: 47.97 kB / 0.7057 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.1607, allocations: 8 kB / 0.7057 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.1629, allocations: 1.6 MB / 0.7073 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.1632, allocations: 0.7 MB / 0.7079 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.193e-05/0.1633, allocations: 12.66 kB / 0.708 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/0.1633, allocations: 23.44 kB / 0.708 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1633, allocations: 0 / 0.708 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/0.1822, allocations: 2.383 MB / 0.7103 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/8.387, allocations: 9.359 kB / 0.7103 GB, free: 1.859 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: 11.934830482001416] Failed to read output from testmodel.py, exit status != 0: 8.767618860001676 8.524062534 8.370445748 Calling exit ...