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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005659/0.005659, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001273/0.001273, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7601/0.7601, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 67.58 kB / 0.5856 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1464, allocations: 80.92 MB / 0.6646 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002062/0.1485, allocations: 1.269 MB / 0.6659 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000938/0.1494, allocations: 0.6152 MB / 0.6665 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.1495, allocations: 0 / 0.6665 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.1495, allocations: 7.922 kB / 0.6665 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.638e-05/0.1495, allocations: 3.984 kB / 0.6665 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005037/0.1501, allocations: 143.4 kB / 0.6666 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.785e-05/0.1501, allocations: 23.86 kB / 0.6666 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.677e-05/0.1502, allocations: 0 / 0.6666 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.1502, allocations: 19.92 kB / 0.6667 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.275e-05/0.1503, allocations: 7.984 kB / 0.6667 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.1503, allocations: 4 kB / 0.6667 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004622/0.1507, allocations: 335.3 kB / 0.667 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.1508, allocations: 11.91 kB / 0.667 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.1508, allocations: 11.94 kB / 0.667 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.151, allocations: 143.7 kB / 0.6672 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.151, allocations: 0 / 0.6672 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.151, allocations: 0 / 0.6672 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.1511, allocations: 0 / 0.6672 GB, free: 3.195 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.0003755/0.1514, allocations: 367.3 kB / 0.6675 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1515, allocations: 9.109 kB / 0.6675 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.1515, allocations: 8.875 kB / 0.6675 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.1516, allocations: 164.3 kB / 0.6677 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1516, allocations: 384 / 0.6677 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.1517, allocations: 8.375 kB / 0.6677 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.048e-05/0.1518, allocations: 37.62 kB / 0.6677 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.1518, allocations: 3.938 kB / 0.6677 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1518, allocations: 8 kB / 0.6677 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1518, allocations: 8 kB / 0.6677 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.632e-05/0.1518, allocations: 7.984 kB / 0.6678 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.152, allocations: 161.7 kB / 0.6679 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.1522, allocations: 46.55 kB / 0.668 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.411e-05/0.1522, allocations: 16.86 kB / 0.668 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.1522, allocations: 3.938 kB / 0.668 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.1523, allocations: 38.64 kB / 0.668 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1523, allocations: 0 / 0.668 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005519/0.1528, allocations: 310.2 kB / 0.6683 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.1529, allocations: 55.41 kB / 0.6684 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.467e-05/0.1529, allocations: 97.84 kB / 0.6685 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.153, allocations: 25.7 kB / 0.6685 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.794e-05/0.153, allocations: 88.08 kB / 0.6686 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.153, allocations: 19.72 kB / 0.6686 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.1531, allocations: 17.72 kB / 0.6686 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1532, allocations: 318.8 kB / 0.6689 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.567e-05/0.1532, allocations: 12 kB / 0.6689 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.029e-05/0.1532, allocations: 8 kB / 0.6689 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.276e-05/0.1533, allocations: 32.84 kB / 0.6689 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1533, allocations: 0 / 0.6689 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.31e-05/0.1534, allocations: 69.61 kB / 0.669 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1534, allocations: 8 kB / 0.669 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.1534, allocations: 4 kB / 0.669 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1534, allocations: 0 / 0.669 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.07e-05/0.1535, allocations: 11.94 kB / 0.669 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.1535, allocations: 3.938 kB / 0.669 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.1535, allocations: 8 kB / 0.6691 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.1535, allocations: 0 / 0.6691 GB, free: 0.9883 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 6.978e-05/0.1536, allocations: 113.8 kB / 0.6692 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.1536, allocations: 7.906 kB / 0.6692 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.1538, allocations: 73.83 kB / 0.6692 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.1538, allocations: 4 kB / 0.6692 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1538, allocations: 7.938 kB / 0.6692 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1538, allocations: 0 / 0.6692 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.1541, allocations: 319.5 kB / 0.6696 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1541, allocations: 0 / 0.6696 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-05/0.1542, allocations: 11.94 kB / 0.6696 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1542, allocations: 4 kB / 0.6696 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.1542, allocations: 0 / 0.6696 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1542, allocations: 0 / 0.6696 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1542, allocations: 8.016 kB / 0.6696 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.1544, allocations: 180.3 kB / 0.6697 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.1544, allocations: 85.02 kB / 0.6698 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.1545, allocations: 8.016 kB / 0.6698 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.1545, allocations: 0 / 0.6698 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.1545, allocations: 4 kB / 0.6698 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.1546, allocations: 4.062 kB / 0.6698 GB, free: 64 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.169e-05/0.1546, allocations: 91.16 kB / 0.6699 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1546, allocations: 0 / 0.6699 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002435/0.1549, allocations: 23.98 kB / 0.67 GB, free: 15.95 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.0001481/0.155, allocations: 116.6 kB / 0.6701 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.1551, allocations: 35.97 kB / 0.6701 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1552, allocations: 0 / 0.6701 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.309e-05/0.1552, allocations: 19.94 kB / 0.6701 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.1554, allocations: 10.12 kB / 0.6701 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.1558, allocations: 204.8 kB / 0.6703 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.156, allocations: 0.6807 MB / 0.671 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.718e-05/0.1561, allocations: 4 kB / 0.671 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.904e-05/0.1561, allocations: 11.44 kB / 0.671 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1561, allocations: 0 / 0.671 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of Templates: time 0.00264/0.1587, allocations: 0.6619 MB / 0.6716 GB, free: 14.19 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)