Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.00106/0.00106, allocations: 117.8 kB / 16.42 MB, free: 6.5 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.001072/0.001072, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.27/1.27, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7646/0.7646, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 72.19 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1266, allocations: 80.2 MB / 0.6603 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002306/0.1289, allocations: 1.462 MB / 0.6618 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009823/0.1299, allocations: 0.6382 MB / 0.6624 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.895e-05/0.13, allocations: 0 / 0.6624 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.13, allocations: 3.938 kB / 0.6624 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.211e-05/0.1301, allocations: 11.86 kB / 0.6624 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.1306, allocations: 159.4 kB / 0.6626 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.138e-05/0.1307, allocations: 55.83 kB / 0.6626 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.1307, allocations: 4 kB / 0.6626 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.788e-05/0.1308, allocations: 19.92 kB / 0.6626 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.613e-05/0.1309, allocations: 31.89 kB / 0.6627 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.1309, allocations: 7.938 kB / 0.6627 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004779/0.1314, allocations: 347.3 kB / 0.663 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.1314, allocations: 11.98 kB / 0.663 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.1314, allocations: 27.86 kB / 0.663 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.1317, allocations: 175.5 kB / 0.6632 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1317, allocations: 0 / 0.6632 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1317, allocations: 0 / 0.6632 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.1317, allocations: 0 / 0.6632 GB, free: 7.289 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.0005686/0.1323, allocations: 401.5 kB / 0.6636 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1324, allocations: 8.031 kB / 0.6636 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.1324, allocations: 12.84 kB / 0.6636 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.1325, allocations: 168.4 kB / 0.6638 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.1325, allocations: 384 / 0.6638 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.1326, allocations: 12.38 kB / 0.6638 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.1328, allocations: 81.53 kB / 0.6639 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1328, allocations: 0 / 0.6639 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1328, allocations: 4 kB / 0.6639 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1329, allocations: 0 / 0.6639 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.1331, allocations: 55.95 kB / 0.6639 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.1336, allocations: 320.6 kB / 0.6642 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.1339, allocations: 74.53 kB / 0.6643 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.134, allocations: 36.98 kB / 0.6643 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.1341, allocations: 11.92 kB / 0.6643 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.1341, allocations: 34.5 kB / 0.6644 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.1341, allocations: 0 / 0.6644 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001566/0.1357, allocations: 0.646 MB / 0.665 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.1357, allocations: 55.34 kB / 0.6651 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.579e-05/0.1358, allocations: 101.8 kB / 0.6652 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1358, allocations: 33.7 kB / 0.6652 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.1358, allocations: 91.97 kB / 0.6653 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.1359, allocations: 39.41 kB / 0.6653 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.1359, allocations: 29.83 kB / 0.6653 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.136, allocations: 322.8 kB / 0.6657 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.1362, allocations: 31.98 kB / 0.6657 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.1363, allocations: 35.47 kB / 0.6657 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.1366, allocations: 72.83 kB / 0.6658 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1366, allocations: 4 kB / 0.6658 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003147/0.1369, allocations: 117.5 kB / 0.6659 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1369, allocations: 9.719 kB / 0.6659 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1369, allocations: 0 / 0.6659 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.1369, allocations: 0 / 0.6659 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.1371, allocations: 27.92 kB / 0.6659 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1371, allocations: 0 / 0.6659 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.137e-05/0.1372, allocations: 11.98 kB / 0.6659 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.1372, allocations: 8 kB / 0.666 GB, free: 4.172 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 (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 8.009e-05/0.1373, allocations: 114.7 kB / 0.6661 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.1373, allocations: 0 / 0.6661 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003718/0.1377, allocations: 135.7 kB / 0.6662 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1377, allocations: 8.016 kB / 0.6662 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1377, allocations: 3.938 kB / 0.6662 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.1378, allocations: 81.02 kB / 0.6663 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.1378, allocations: 4 kB / 0.6663 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.1379, allocations: 15.98 kB / 0.6663 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.1379, allocations: 4 kB / 0.6663 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004295/0.1384, allocations: 196.8 kB / 0.6665 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005187/0.1389, allocations: 338.5 kB / 0.6668 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001369/0.1391, allocations: 38.41 kB / 0.6669 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.57e-05/0.1391, allocations: 83.28 kB / 0.6669 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of Backend: time 3.71e-07/0.1391, allocations: 0 / 0.6669 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006153/0.1397, allocations: 186.9 kB / 0.6671 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0006512/0.1404, allocations: 0.7365 MB / 0.6678 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of Templates: time 0.004016/0.1444, allocations: 1.76 MB / 0.6696 GB, free: 424 kB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)