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.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.00128/0.00128, allocations: 116.1 kB / 17.17 MB, free: 6 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.001268/0.001268, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.418/1.418, 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.8288/0.8288, allocations: 133.9 MB / 443.5 MB, free: 13.87 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_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="cs",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="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.001985/0.001985, allocations: 71.8 kB / 0.6141 GB, free: 38.33 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1463, allocations: 85.85 MB / 0.6979 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002538/0.1488, allocations: 1.299 MB / 0.6992 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1499, allocations: 0.6104 MB / 0.6998 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.1499, allocations: 0 / 0.6998 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.15, allocations: 3.938 kB / 0.6998 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.813e-05/0.15, allocations: 3.938 kB / 0.6998 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005271/0.1505, allocations: 148.8 kB / 0.7 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.387e-05/0.1506, allocations: 25.48 kB / 0.7 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.759e-05/0.1506, allocations: 1.375 kB / 0.7 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.539e-05/0.1507, allocations: 5.5 kB / 0.7 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.304e-05/0.1507, allocations: 14.67 kB / 0.7 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.1507, allocations: 1.375 kB / 0.7 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000499/0.1512, allocations: 344.9 kB / 0.7003 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.919e-06/0.1512, allocations: 1.375 kB / 0.7003 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.1513, allocations: 8.062 kB / 0.7003 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.1515, allocations: 152.4 kB / 0.7005 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1515, allocations: 4 kB / 0.7005 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1515, allocations: 0 / 0.7005 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1515, allocations: 0 / 0.7005 GB, free: 11.81 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004727/0.152, allocations: 367.5 kB / 0.7008 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.152, allocations: 11.3 kB / 0.7009 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.619e-05/0.1521, allocations: 1.562 kB / 0.7009 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.942e-05/0.1521, allocations: 30.75 kB / 0.7009 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.1521, allocations: 6.297 kB / 0.7009 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.1523, allocations: 169.7 kB / 0.7011 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.1523, allocations: 5.75 kB / 0.7011 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.1523, allocations: 6.688 kB / 0.7011 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.1524, allocations: 39.19 kB / 0.7011 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1524, allocations: 0 / 0.7011 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1524, allocations: 1.281 kB / 0.7011 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1524, allocations: 0 / 0.7011 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.722e-05/0.1525, allocations: 10.72 kB / 0.7011 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.1526, allocations: 156 kB / 0.7013 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.1528, allocations: 53.08 kB / 0.7013 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.77e-05/0.1529, allocations: 19.62 kB / 0.7013 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.1529, allocations: 1.25 kB / 0.7013 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.1529, allocations: 31.81 kB / 0.7014 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1529, allocations: 0 / 0.7014 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006607/0.1536, allocations: 312.3 kB / 0.7017 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.1536, allocations: 59.39 kB / 0.7017 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.277e-05/0.1537, allocations: 94.08 kB / 0.7018 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.1537, allocations: 30.95 kB / 0.7018 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.1538, allocations: 80.14 kB / 0.7019 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.1538, allocations: 26.28 kB / 0.7019 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.1538, allocations: 22.53 kB / 0.702 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.154, allocations: 316.1 kB / 0.7023 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.027e-05/0.154, allocations: 18.25 kB / 0.7023 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.308e-05/0.154, allocations: 15.94 kB / 0.7023 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.924e-05/0.1541, allocations: 35.45 kB / 0.7023 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.1541, allocations: 0 / 0.7023 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001044/0.1542, allocations: 65.98 kB / 0.7024 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1542, allocations: 5.344 kB / 0.7024 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1542, allocations: 1.312 kB / 0.7024 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1542, allocations: 0 / 0.7024 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.425e-05/0.1543, allocations: 14.45 kB / 0.7024 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1543, allocations: 3.938 kB / 0.7024 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.1543, allocations: 4 kB / 0.7024 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.1543, allocations: 5.781 kB / 0.7024 GB, free: 9.77 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 (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.006e-05/0.1544, allocations: 113.9 kB / 0.7025 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.1544, allocations: 1.469 kB / 0.7025 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.1545, allocations: 74.48 kB / 0.7026 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1546, allocations: 1.281 kB / 0.7026 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1546, allocations: 0 / 0.7026 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1546, allocations: 0 / 0.7026 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.1549, allocations: 316.2 kB / 0.7029 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1549, allocations: 1.188 kB / 0.7029 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.515e-05/0.155, allocations: 13.42 kB / 0.7029 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.155, allocations: 2.25 kB / 0.7029 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.155, allocations: 192 / 0.7029 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.155, allocations: 9.969 kB / 0.7029 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.155, allocations: 0 / 0.7029 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.1552, allocations: 180.8 kB / 0.7031 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.1553, allocations: 83.69 kB / 0.7032 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.1553, allocations: 5.344 kB / 0.7032 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.944e-05/0.1553, allocations: 1.75 kB / 0.7032 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.027e-05/0.1554, allocations: 10.23 kB / 0.7032 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.1554, allocations: 1.75 kB / 0.7032 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.925e-05/0.1554, allocations: 82.81 kB / 0.7033 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1554, allocations: 0 / 0.7033 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002496/0.1557, allocations: 27.25 kB / 0.7033 GB, free: 8.863 MB / 0.5137 GB 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.0006031/0.1563, allocations: 0.7336 MB / 0.704 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001184/0.1564, allocations: 35.31 kB / 0.7041 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1564, allocations: 0 / 0.7041 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.768e-05/0.1564, allocations: 19.72 kB / 0.7041 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.1566, allocations: 10.16 kB / 0.7041 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.1581, allocations: 1.334 MB / 0.7054 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.1584, allocations: 0.6844 MB / 0.7061 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.119e-05/0.1585, allocations: 4 kB / 0.7061 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.1585, allocations: 15.42 kB / 0.7061 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.1585, allocations: 0 / 0.7061 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.1778, allocations: 1.669 MB / 0.7077 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.275, allocations: 11.14 kB / 0.7077 GB, free: 4.59 MB / 0.5137 GB " [Timeout remaining time 651] (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 --stepSize=0.0016 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.815526898019016] Failed to read output from testmodel.py, exit status != 0: 8.65724082099041 8.423983292 8.267856268 Calling exit ...