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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006165/0.006165, allocations: 102.8 kB / 15.73 MB, free: 6.055 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.001315/0.001315, allocations: 194.4 kB / 16.67 MB, free: 5.973 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8294/0.8294, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 62.36 kB / 0.5851 GB, free: 21.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.146, allocations: 80.93 MB / 0.6642 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002322/0.1484, allocations: 1.273 MB / 0.6654 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1495, allocations: 0.6153 MB / 0.666 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.094e-05/0.1496, allocations: 0 / 0.666 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.1496, allocations: 0 / 0.666 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.056e-05/0.1497, allocations: 11.92 kB / 0.666 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.1503, allocations: 151.3 kB / 0.6662 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.51e-05/0.1503, allocations: 19.94 kB / 0.6662 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.1504, allocations: 3.984 kB / 0.6662 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.366e-05/0.1504, allocations: 7.938 kB / 0.6662 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.758e-05/0.1505, allocations: 8 kB / 0.6662 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.1505, allocations: 0 / 0.6662 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004987/0.151, allocations: 347.3 kB / 0.6665 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.151, allocations: 3.938 kB / 0.6665 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.1511, allocations: 11.98 kB / 0.6665 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.1513, allocations: 147.1 kB / 0.6667 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.872e-06/0.1514, allocations: 4 kB / 0.6667 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.304e-06/0.1514, allocations: 0 / 0.6667 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1514, allocations: 0 / 0.6667 GB, free: 3.672 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004456/0.1518, allocations: 363.7 kB / 0.667 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1519, allocations: 9.109 kB / 0.667 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.478e-05/0.1519, allocations: 30.75 kB / 0.6671 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.152, allocations: 8.875 kB / 0.6671 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.1521, allocations: 168.3 kB / 0.6672 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.1521, allocations: 384 / 0.6672 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.1521, allocations: 12.06 kB / 0.6672 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.1522, allocations: 37.69 kB / 0.6673 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1523, allocations: 0 / 0.6673 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1523, allocations: 4 kB / 0.6673 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1523, allocations: 0 / 0.6673 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.152e-05/0.1523, allocations: 11.98 kB / 0.6673 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.1525, allocations: 157.7 kB / 0.6675 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.1527, allocations: 50.5 kB / 0.6675 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/0.1527, allocations: 20.8 kB / 0.6675 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1528, allocations: 0 / 0.6675 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.1528, allocations: 34.64 kB / 0.6676 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1528, allocations: 0 / 0.6676 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006738/0.1535, allocations: 310.6 kB / 0.6678 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.1535, allocations: 55.41 kB / 0.6679 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.622e-05/0.1536, allocations: 97.84 kB / 0.668 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.1536, allocations: 29.69 kB / 0.668 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.1537, allocations: 80.14 kB / 0.6681 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.1537, allocations: 27.64 kB / 0.6681 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.1538, allocations: 17.72 kB / 0.6681 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1539, allocations: 318.8 kB / 0.6684 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.378e-05/0.1539, allocations: 12 kB / 0.6685 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.649e-05/0.154, allocations: 15.94 kB / 0.6685 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.481e-05/0.154, allocations: 36.78 kB / 0.6685 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.154, allocations: 7.938 kB / 0.6685 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.46e-05/0.1541, allocations: 57.84 kB / 0.6686 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1542, allocations: 8 kB / 0.6686 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1542, allocations: 80 / 0.6686 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1542, allocations: 0 / 0.6686 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.49e-05/0.1542, allocations: 8 kB / 0.6686 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.1543, allocations: 3.984 kB / 0.6686 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/0.1543, allocations: 8 kB / 0.6686 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.1543, allocations: 4 kB / 0.6686 GB, free: 1.43 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 (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 9.761e-05/0.1544, allocations: 119 kB / 0.6687 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.1544, allocations: 11.83 kB / 0.6687 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.1546, allocations: 69.66 kB / 0.6688 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1546, allocations: 0 / 0.6688 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1546, allocations: 4 kB / 0.6688 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1546, allocations: 0 / 0.6688 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003677/0.155, allocations: 323.3 kB / 0.6691 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.155, allocations: 0 / 0.6691 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-05/0.155, allocations: 8 kB / 0.6691 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1551, allocations: 4 kB / 0.6691 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1551, allocations: 0 / 0.6691 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1551, allocations: 192 / 0.6691 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.361e-06/0.1551, allocations: 7.938 kB / 0.6691 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.1553, allocations: 188.4 kB / 0.6693 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.1554, allocations: 81.02 kB / 0.6694 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.1554, allocations: 8.031 kB / 0.6694 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.406e-05/0.1555, allocations: 3.984 kB / 0.6694 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.1555, allocations: 4 kB / 0.6694 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.1555, allocations: 3.938 kB / 0.6694 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.831e-05/0.1555, allocations: 79.28 kB / 0.6695 GB, free: 432 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1556, allocations: 0 / 0.6695 GB, free: 432 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000271/0.1558, allocations: 24.05 kB / 0.6695 GB, free: 408 kB / 0.4981 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.0006077/0.1564, allocations: 0.7211 MB / 0.6702 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.1566, allocations: 35.92 kB / 0.6702 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1566, allocations: 0 / 0.6702 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.858e-05/0.1566, allocations: 24.05 kB / 0.6703 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.1569, allocations: 7.938 kB / 0.6703 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.1583, allocations: 1.335 MB / 0.6716 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.1586, allocations: 0.6834 MB / 0.6722 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.166e-05/0.1586, allocations: 4 kB / 0.6722 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.1587, allocations: 15.44 kB / 0.6723 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1587, allocations: 3.938 kB / 0.6723 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.1791, allocations: 1.629 MB / 0.6739 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.765/7.944, allocations: 13.23 kB / 0.6739 GB, free: 11.97 MB / 0.5137 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/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)