Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009726/0.0009726, allocations: 105.5 kB / 16.41 MB, free: 6.492 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.0009859/0.0009859, allocations: 192.3 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.179/1.179, allocations: 222.9 MB / 241.1 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.7206/0.7206, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 63 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.117, allocations: 80.93 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002124/0.1191, allocations: 1.462 MB / 0.6667 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008867/0.12, allocations: 0.6266 MB / 0.6674 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.1201, allocations: 4 kB / 0.6674 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.615e-05/0.1201, allocations: 3.938 kB / 0.6674 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.34e-05/0.1202, allocations: 11.92 kB / 0.6674 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.1206, allocations: 151.4 kB / 0.6675 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.333e-05/0.1207, allocations: 59.52 kB / 0.6676 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.5e-05/0.1208, allocations: 7.906 kB / 0.6676 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.871e-05/0.1208, allocations: 31.92 kB / 0.6676 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.981e-05/0.1209, allocations: 27.89 kB / 0.6676 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1209, allocations: 4 kB / 0.6676 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000437/0.1213, allocations: 339.4 kB / 0.668 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.1214, allocations: 19.86 kB / 0.668 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.1214, allocations: 27.8 kB / 0.668 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.1216, allocations: 175.5 kB / 0.6682 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1217, allocations: 0 / 0.6682 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.274e-06/0.1217, allocations: 4 kB / 0.6682 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.1217, allocations: 3.938 kB / 0.6682 GB, free: 2.832 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005055/0.1222, allocations: 399.3 kB / 0.6686 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.1222, allocations: 9.109 kB / 0.6686 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.1223, allocations: 4.938 kB / 0.6686 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.1224, allocations: 176.3 kB / 0.6688 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.1224, allocations: 4.375 kB / 0.6688 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.1224, allocations: 8.375 kB / 0.6688 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.1226, allocations: 81.58 kB / 0.6688 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1227, allocations: 0 / 0.6688 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1227, allocations: 8 kB / 0.6689 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1227, allocations: 0 / 0.6689 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.1229, allocations: 51.89 kB / 0.6689 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.1234, allocations: 320.6 kB / 0.6692 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.1237, allocations: 86.45 kB / 0.6693 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.1238, allocations: 28.84 kB / 0.6693 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.1238, allocations: 0 / 0.6693 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.1238, allocations: 42.55 kB / 0.6694 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 2.214e-06/0.1238, allocations: 0 / 0.6694 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001435/0.1253, allocations: 0.6384 MB / 0.67 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.1253, allocations: 59.39 kB / 0.67 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.323e-05/0.1254, allocations: 101.9 kB / 0.6701 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.1254, allocations: 25.7 kB / 0.6702 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.1254, allocations: 96.03 kB / 0.6702 GB, free: 448 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.1255, allocations: 35.41 kB / 0.6703 GB, free: 412 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.1255, allocations: 29.83 kB / 0.6703 GB, free: 376 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.1256, allocations: 322.9 kB / 0.6706 GB, free: 44 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1257, allocations: 35.92 kB / 0.6707 GB, free: 8 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.1259, allocations: 47.28 kB / 0.6707 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.1261, allocations: 68.83 kB / 0.6708 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1261, allocations: 4 kB / 0.6708 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002927/0.1264, allocations: 109.6 kB / 0.6709 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1264, allocations: 4 kB / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1264, allocations: 0 / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1265, allocations: 0 / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.1266, allocations: 39.86 kB / 0.6709 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.1266, allocations: 4 kB / 0.6709 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.1267, allocations: 7.984 kB / 0.6709 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.1267, allocations: 0 / 0.6709 GB, free: 15.72 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 (13): * Single equations (assignments): 13 * 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 7.331e-05/0.1268, allocations: 117.8 kB / 0.671 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.1268, allocations: 4 kB / 0.671 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/0.1272, allocations: 129.6 kB / 0.6712 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1272, allocations: 11.94 kB / 0.6712 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1272, allocations: 0 / 0.6712 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.1272, allocations: 81.02 kB / 0.6713 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.1272, allocations: 192 / 0.6713 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.1273, allocations: 11.98 kB / 0.6713 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.1274, allocations: 11.98 kB / 0.6713 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003849/0.1278, allocations: 197 kB / 0.6715 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004743/0.1282, allocations: 342.5 kB / 0.6718 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001342/0.1284, allocations: 40 kB / 0.6718 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.632e-05/0.1284, allocations: 75.28 kB / 0.6719 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of Backend: time 2.1e-07/0.1284, allocations: 0 / 0.6719 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005501/0.129, allocations: 194.3 kB / 0.6721 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0005753/0.1296, allocations: 0.7285 MB / 0.6728 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of Templates: time 0.003662/0.1332, allocations: 1.761 MB / 0.6745 GB, free: 11.97 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)