Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_dev_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_dev_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/Complex 4.0.0+maint.om/package.mo): time 0.008564/0.008565, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9831/0.9831, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.2 MB / 406.8 MB, free: 3.246 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009651/0.0009652, allocations: 95.69 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004147, allocations: 16 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.4336, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.5898, allocations: 112 MB / 0.7589 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.5902, allocations: 83.89 kB / 0.759 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008903/0.5991, allocations: 2.881 MB / 0.7618 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5991, allocations: 4 kB / 0.7618 GB, free: 1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.5992, allocations: 0 / 0.7618 GB, free: 1 MB / 0.5261 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.0004336/0.5996, allocations: 359.1 kB / 0.7622 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.5997, allocations: 11.97 kB / 0.7622 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.245e-05/0.5997, allocations: 34.55 kB / 0.7622 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.5998, allocations: 4 kB / 0.7622 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.5999, allocations: 163 kB / 0.7624 GB, free: 352 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.5999, allocations: 0 / 0.7624 GB, free: 352 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.6, allocations: 8 kB / 0.7624 GB, free: 344 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.6001, allocations: 45.61 kB / 0.7624 GB, free: 292 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.6001, allocations: 0 / 0.7624 GB, free: 292 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.6001, allocations: 4 kB / 0.7624 GB, free: 288 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.6001, allocations: 4 kB / 0.7624 GB, free: 284 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.241e-05/0.6002, allocations: 7.984 kB / 0.7624 GB, free: 276 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.6004, allocations: 157.7 kB / 0.7626 GB, free: 68 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.6006, allocations: 50.5 kB / 0.7626 GB, free: 8 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.6006, allocations: 4 kB / 0.7626 GB, free: 4 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.6007, allocations: 30.56 kB / 0.7627 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.6007, allocations: 0 / 0.7627 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0007132/0.6014, allocations: 302.3 kB / 0.7629 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.6015, allocations: 55.41 kB / 0.763 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.316e-05/0.6015, allocations: 88.98 kB / 0.7631 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.6015, allocations: 29.7 kB / 0.7631 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.6016, allocations: 88.14 kB / 0.7632 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.6016, allocations: 11.72 kB / 0.7632 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.6016, allocations: 0 / 0.7632 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.6018, allocations: 326.8 kB / 0.7635 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.356e-05/0.6018, allocations: 8 kB / 0.7635 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.406e-05/0.6019, allocations: 15.92 kB / 0.7635 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.194e-05/0.6019, allocations: 16 kB / 0.7636 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.6019, allocations: 0 / 0.7636 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000109/0.602, allocations: 65.53 kB / 0.7636 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.602, allocations: 12 kB / 0.7636 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.6021, allocations: 0 / 0.7636 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.6021, allocations: 0 / 0.7636 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.437e-05/0.6021, allocations: 11.98 kB / 0.7636 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.6021, allocations: 4 kB / 0.7636 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.6022, allocations: 4 kB / 0.7637 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.6022, allocations: 0 / 0.7637 GB, free: 14.85 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.686e-05/0.6023, allocations: 116.4 kB / 0.7638 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-06/0.6023, allocations: 0 / 0.7638 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.6025, allocations: 85.52 kB / 0.7638 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.6025, allocations: 4 kB / 0.7639 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6025, allocations: 128 / 0.7639 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.6025, allocations: 4 kB / 0.7639 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003599/0.6029, allocations: 311.4 kB / 0.7642 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6029, allocations: 0 / 0.7642 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.998e-05/0.6029, allocations: 11.98 kB / 0.7642 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.603, allocations: 4.516 kB / 0.7642 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.603, allocations: 0 / 0.7642 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.603, allocations: 4.031 kB / 0.7642 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.603, allocations: 0 / 0.7642 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.6032, allocations: 193.9 kB / 0.7644 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.6033, allocations: 85.09 kB / 0.7644 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.6033, allocations: 4.031 kB / 0.7644 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.6034, allocations: 8.453 kB / 0.7644 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.6034, allocations: 7.984 kB / 0.7645 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.6034, allocations: 3.953 kB / 0.7645 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.983e-05/0.6035, allocations: 83.28 kB / 0.7645 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6035, allocations: 0 / 0.7645 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002842/0.6038, allocations: 27.94 kB / 0.7646 GB, free: 13.8 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006407/0.6044, allocations: 0.8277 MB / 0.7654 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.6045, allocations: 35.97 kB / 0.7654 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6046, allocations: 0 / 0.7654 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.976e-05/0.6046, allocations: 19.92 kB / 0.7654 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.6048, allocations: 7.953 kB / 0.7654 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008086/0.6056, allocations: 0.4919 MB / 0.7659 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.6058, allocations: 0.6809 MB / 0.7666 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.796e-05/0.6059, allocations: 7.984 kB / 0.7666 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.6059, allocations: 7.438 kB / 0.7666 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of SimCode: time 2.7e-07/0.6059, allocations: 0 / 0.7666 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01312/0.6191, allocations: 1.357 MB / 0.7679 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/0.6194, allocations: 217 kB / 0.7681 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.247, allocations: 0 / 0.7681 GB, free: 10.21 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)