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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001671/0.001672, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7535/0.7535, allocations: 133.3 MB / 150.1 MB, free: 11.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 404.7 MB, free: 6.094 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 95.62 kB / 485.9 MB, free: 7.246 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009866/0.0009866, allocations: 51.92 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1244, allocations: 80.43 MB / 0.6422 GB, free: 5.445 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002468/0.1269, allocations: 1.333 MB / 0.6435 GB, free: 4.09 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1279, allocations: 0.632 MB / 0.6441 GB, free: 3.457 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.58e-05/0.128, allocations: 0 / 0.6441 GB, free: 3.457 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/0.128, allocations: 3.984 kB / 0.6441 GB, free: 3.453 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.795e-05/0.1281, allocations: 7.922 kB / 0.6441 GB, free: 3.445 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.1286, allocations: 126 kB / 0.6442 GB, free: 3.324 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.46e-05/0.1286, allocations: 19.92 kB / 0.6442 GB, free: 3.305 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.628e-05/0.1287, allocations: 0 / 0.6442 GB, free: 3.305 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.06e-05/0.1287, allocations: 8 kB / 0.6442 GB, free: 3.297 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.615e-05/0.1288, allocations: 15.91 kB / 0.6442 GB, free: 3.281 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.1288, allocations: 0 / 0.6442 GB, free: 3.281 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004841/0.1293, allocations: 343.3 kB / 0.6446 GB, free: 2.945 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.1293, allocations: 7.984 kB / 0.6446 GB, free: 2.938 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.1293, allocations: 7.938 kB / 0.6446 GB, free: 2.93 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.1296, allocations: 147.9 kB / 0.6447 GB, free: 2.785 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1296, allocations: 0 / 0.6447 GB, free: 2.785 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1296, allocations: 4 kB / 0.6447 GB, free: 2.781 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1296, allocations: 4 kB / 0.6447 GB, free: 2.777 MB / 442.7 MB 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.0003984/0.13, allocations: 357.6 kB / 0.6451 GB, free: 2.383 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1301, allocations: 12.03 kB / 0.6451 GB, free: 2.371 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.1301, allocations: 0.9375 kB / 0.6451 GB, free: 2.371 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.1302, allocations: 172.4 kB / 0.6453 GB, free: 2.164 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1302, allocations: 384 / 0.6453 GB, free: 2.164 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.1303, allocations: 8.281 kB / 0.6453 GB, free: 2.156 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.1304, allocations: 49.75 kB / 0.6453 GB, free: 2.102 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1304, allocations: 4 kB / 0.6453 GB, free: 2.098 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.1304, allocations: 0 / 0.6453 GB, free: 2.098 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1304, allocations: 3.938 kB / 0.6453 GB, free: 2.094 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.815e-05/0.1305, allocations: 8 kB / 0.6453 GB, free: 2.086 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.1306, allocations: 157.7 kB / 0.6455 GB, free: 1.883 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.1308, allocations: 38.61 kB / 0.6455 GB, free: 1.836 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.292e-05/0.1309, allocations: 20.94 kB / 0.6455 GB, free: 1.812 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.1309, allocations: 4 kB / 0.6455 GB, free: 1.809 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.1309, allocations: 42.44 kB / 0.6456 GB, free: 1.758 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1309, allocations: 3.938 kB / 0.6456 GB, free: 1.754 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006054/0.1315, allocations: 306.2 kB / 0.6459 GB, free: 1.402 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.1316, allocations: 51.41 kB / 0.6459 GB, free: 1.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.675e-05/0.1316, allocations: 97.84 kB / 0.646 GB, free: 1.234 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.1317, allocations: 33.7 kB / 0.646 GB, free: 1.195 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.1317, allocations: 84.14 kB / 0.6461 GB, free: 1.109 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.1317, allocations: 11.72 kB / 0.6461 GB, free: 1.098 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.1318, allocations: 25.7 kB / 0.6462 GB, free: 1.066 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.1319, allocations: 314.8 kB / 0.6465 GB, free: 0.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.69e-05/0.1319, allocations: 11.98 kB / 0.6465 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.901e-05/0.1319, allocations: 8 kB / 0.6465 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.628e-05/0.132, allocations: 32.86 kB / 0.6465 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.132, allocations: 0 / 0.6465 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.341e-05/0.1321, allocations: 73.56 kB / 0.6466 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1321, allocations: 4 kB / 0.6466 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1321, allocations: 0 / 0.6466 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1321, allocations: 0 / 0.6466 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.682e-05/0.1322, allocations: 20.5 kB / 0.6466 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1322, allocations: 0 / 0.6466 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.071e-05/0.1322, allocations: 4.062 kB / 0.6466 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.1323, allocations: 4 kB / 0.6466 GB, free: 0.5859 MB / 442.7 MB 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 7.715e-05/0.1323, allocations: 109.8 kB / 0.6467 GB, free: 480 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.1324, allocations: 15.84 kB / 0.6467 GB, free: 464 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.1325, allocations: 77.8 kB / 0.6468 GB, free: 384 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1325, allocations: 3.984 kB / 0.6468 GB, free: 380 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1325, allocations: 0 / 0.6468 GB, free: 380 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1325, allocations: 0 / 0.6468 GB, free: 380 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.1329, allocations: 315.3 kB / 0.6471 GB, free: 4 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1329, allocations: 4 kB / 0.6471 GB, free: 0 / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-05/0.133, allocations: 8.047 kB / 0.6471 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.133, allocations: 4.031 kB / 0.6471 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.133, allocations: 7.938 kB / 0.6471 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.133, allocations: 0 / 0.6471 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.133, allocations: 3.938 kB / 0.6471 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008386/0.1339, allocations: 1.016 MB / 0.6481 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.1339, allocations: 89.12 kB / 0.6482 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.654e-06/0.1339, allocations: 0 / 0.6482 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.102e-05/0.134, allocations: 4 kB / 0.6482 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.134, allocations: 7.938 kB / 0.6482 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.134, allocations: 7.984 kB / 0.6482 GB, free: 14.69 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.255e-05/0.1341, allocations: 79.22 kB / 0.6483 GB, free: 14.61 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1341, allocations: 96 / 0.6483 GB, free: 14.61 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003303/0.1344, allocations: 31.94 kB / 0.6483 GB, free: 14.58 MB / 458.7 MB 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.0001963/0.1346, allocations: 120.9 kB / 0.6485 GB, free: 14.46 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.886e-05/0.1347, allocations: 35.97 kB / 0.6485 GB, free: 14.42 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1347, allocations: 0 / 0.6485 GB, free: 14.42 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.729e-05/0.1348, allocations: 15.94 kB / 0.6485 GB, free: 14.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.135, allocations: 11.92 kB / 0.6485 GB, free: 14.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.1355, allocations: 316.9 kB / 0.6488 GB, free: 14.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.1357, allocations: 0.6887 MB / 0.6495 GB, free: 13.32 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.596e-05/0.1358, allocations: 7.984 kB / 0.6495 GB, free: 13.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.1358, allocations: 11.44 kB / 0.6495 GB, free: 13.3 MB / 458.7 MB Notification: Performance of SimCode: time 3.8e-07/0.1358, allocations: 3.938 kB / 0.6495 GB, free: 13.3 MB / 458.7 MB Notification: Performance of Templates: time 0.002727/0.1385, allocations: 0.6496 MB / 0.6501 GB, free: 12.68 MB / 458.7 MB 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)