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.00114/0.00114, allocations: 112.3 kB / 16.42 MB, free: 6.516 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.00116/0.00116, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.18/1.18, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7181/0.7181, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 63.11 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1158, allocations: 80.92 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002115/0.1179, allocations: 1.268 MB / 0.6665 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008727/0.1188, allocations: 0.6191 MB / 0.6671 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.188e-05/0.1188, allocations: 4 kB / 0.6671 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.1188, allocations: 3.938 kB / 0.6672 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.08e-05/0.1189, allocations: 3.984 kB / 0.6672 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004867/0.1194, allocations: 147.4 kB / 0.6673 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.47e-05/0.1195, allocations: 19.86 kB / 0.6673 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.404e-05/0.1195, allocations: 4 kB / 0.6673 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.519e-05/0.1195, allocations: 15.92 kB / 0.6673 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.445e-05/0.1196, allocations: 7.984 kB / 0.6673 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.1196, allocations: 0 / 0.6673 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004576/0.1201, allocations: 343.3 kB / 0.6677 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.1201, allocations: 3.984 kB / 0.6677 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.1201, allocations: 11.94 kB / 0.6677 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.1203, allocations: 143.7 kB / 0.6678 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1204, allocations: 4 kB / 0.6678 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1204, allocations: 0 / 0.6678 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.1204, allocations: 0 / 0.6678 GB, free: 3.215 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.0003622/0.1207, allocations: 359.4 kB / 0.6682 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1208, allocations: 13.11 kB / 0.6682 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.1208, allocations: 4.875 kB / 0.6682 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.803e-05/0.1209, allocations: 168.3 kB / 0.6683 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.1209, allocations: 4.375 kB / 0.6684 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.121, allocations: 4.375 kB / 0.6684 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.694e-05/0.121, allocations: 45.62 kB / 0.6684 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.1211, allocations: 3.938 kB / 0.6684 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1211, allocations: 4 kB / 0.6684 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1211, allocations: 0 / 0.6684 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.474e-05/0.1211, allocations: 8 kB / 0.6684 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.1213, allocations: 153.7 kB / 0.6686 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.1214, allocations: 46.55 kB / 0.6686 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.149e-05/0.1215, allocations: 24.94 kB / 0.6686 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.1215, allocations: 7.922 kB / 0.6686 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.1215, allocations: 34.56 kB / 0.6687 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.1215, allocations: 0 / 0.6687 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005328/0.1221, allocations: 310.2 kB / 0.669 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.1221, allocations: 51.41 kB / 0.669 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.031e-05/0.1222, allocations: 101.8 kB / 0.6691 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.1222, allocations: 25.7 kB / 0.6691 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.671e-05/0.1222, allocations: 84.14 kB / 0.6692 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.1222, allocations: 23.59 kB / 0.6692 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.1223, allocations: 21.7 kB / 0.6693 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.758e-05/0.1224, allocations: 318.8 kB / 0.6696 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.329e-05/0.1224, allocations: 8 kB / 0.6696 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.075e-05/0.1224, allocations: 15.97 kB / 0.6696 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.954e-05/0.1225, allocations: 32.86 kB / 0.6696 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1225, allocations: 4 kB / 0.6696 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.912e-05/0.1226, allocations: 69.61 kB / 0.6697 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.1226, allocations: 4 kB / 0.6697 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.1226, allocations: 0 / 0.6697 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1226, allocations: 0 / 0.6697 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.921e-05/0.1227, allocations: 15.94 kB / 0.6697 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1227, allocations: 3.984 kB / 0.6697 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.94e-05/0.1227, allocations: 4 kB / 0.6697 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.1227, allocations: 0 / 0.6697 GB, free: 1.012 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.458e-05/0.1228, allocations: 113.8 kB / 0.6698 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.1228, allocations: 7.844 kB / 0.6698 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.1229, allocations: 77.59 kB / 0.6699 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.1229, allocations: 3.984 kB / 0.6699 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1229, allocations: 0 / 0.6699 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.123, allocations: 81.05 kB / 0.67 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.123, allocations: 7.938 kB / 0.67 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.644e-05/0.1231, allocations: 0 / 0.67 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.1231, allocations: 7.984 kB / 0.67 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001328/0.1232, allocations: 145.1 kB / 0.6701 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001843/0.1234, allocations: 258.7 kB / 0.6704 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.94e-05/0.1235, allocations: 16.02 kB / 0.6704 GB, free: 256 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.54e-05/0.1235, allocations: 79.28 kB / 0.6705 GB, free: 176 kB / 0.4981 GB Notification: Performance of Backend: time 2.7e-07/0.1235, allocations: 0 / 0.6705 GB, free: 176 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004657/0.124, allocations: 166.5 kB / 0.6706 GB, free: 8 kB / 0.4981 GB Notification: Performance of SimCode: time 0.0004522/0.1244, allocations: 0.6179 MB / 0.6712 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of Templates: time 0.003022/0.1275, allocations: 1.263 MB / 0.6725 GB, free: 14.11 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)