Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008079/0.008079, allocations: 104.2 kB / 15.73 MB, free: 5.953 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.002115/0.002115, allocations: 190.2 kB / 16.67 MB, free: 5.871 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8375/0.8375, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 60.53 kB / 0.5809 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1326, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002333/0.135, allocations: 1.277 MB / 0.6604 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1361, allocations: 0.6113 MB / 0.661 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.1361, allocations: 0 / 0.661 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.1361, allocations: 3.938 kB / 0.661 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.468e-05/0.1362, allocations: 7.922 kB / 0.6611 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005778/0.1368, allocations: 147.4 kB / 0.6612 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.61e-05/0.1368, allocations: 19.92 kB / 0.6612 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.1369, allocations: 4 kB / 0.6612 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.044e-05/0.1369, allocations: 11.92 kB / 0.6612 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.792e-05/0.137, allocations: 11.98 kB / 0.6612 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.137, allocations: 0 / 0.6612 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005634/0.1376, allocations: 339.3 kB / 0.6616 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.1376, allocations: 11.92 kB / 0.6616 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.1376, allocations: 4 kB / 0.6616 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002941/0.1379, allocations: 151.8 kB / 0.6617 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1379, allocations: 0 / 0.6617 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1379, allocations: 0 / 0.6617 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.1379, allocations: 0 / 0.6617 GB, free: 8.164 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.0004553/0.1384, allocations: 363.1 kB / 0.6621 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1385, allocations: 12.03 kB / 0.6621 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.1385, allocations: 30.75 kB / 0.6621 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.1385, allocations: 4.875 kB / 0.6621 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.1387, allocations: 172.3 kB / 0.6623 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1387, allocations: 4.375 kB / 0.6623 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.1387, allocations: 8.109 kB / 0.6623 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.1388, allocations: 41.69 kB / 0.6623 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.1389, allocations: 0 / 0.6623 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.1389, allocations: 0 / 0.6623 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1389, allocations: 0 / 0.6623 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.152e-05/0.1389, allocations: 15.94 kB / 0.6623 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.1391, allocations: 153.7 kB / 0.6625 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.1393, allocations: 46.61 kB / 0.6625 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.1394, allocations: 24.88 kB / 0.6626 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.1394, allocations: 3.984 kB / 0.6626 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.1394, allocations: 34.56 kB / 0.6626 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 5.831e-06/0.1394, allocations: 0 / 0.6626 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006359/0.1401, allocations: 306.2 kB / 0.6629 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.1401, allocations: 55.41 kB / 0.6629 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.662e-05/0.1402, allocations: 97.84 kB / 0.663 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.1402, allocations: 25.7 kB / 0.6631 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.1403, allocations: 88.14 kB / 0.6631 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.1403, allocations: 19.78 kB / 0.6632 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.1404, allocations: 21.72 kB / 0.6632 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.1406, allocations: 318.8 kB / 0.6635 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3e-05/0.1406, allocations: 7.984 kB / 0.6635 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.594e-05/0.1406, allocations: 16 kB / 0.6635 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.064e-05/0.1407, allocations: 32.86 kB / 0.6635 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.1407, allocations: 3.938 kB / 0.6635 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001098/0.1408, allocations: 69.61 kB / 0.6636 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1408, allocations: 4 kB / 0.6636 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1408, allocations: 0 / 0.6636 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1409, allocations: 64 / 0.6636 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.884e-05/0.1409, allocations: 19.98 kB / 0.6636 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1409, allocations: 0 / 0.6636 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.999e-05/0.141, allocations: 4 kB / 0.6636 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.141, allocations: 8 kB / 0.6636 GB, free: 5.914 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 8.439e-05/0.1411, allocations: 110.7 kB / 0.6637 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.1411, allocations: 12.41 kB / 0.6638 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.1412, allocations: 81.8 kB / 0.6638 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1413, allocations: 0 / 0.6638 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1413, allocations: 0 / 0.6638 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1413, allocations: 0 / 0.6638 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.1416, allocations: 319.3 kB / 0.6641 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.1416, allocations: 4 kB / 0.6641 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.473e-05/0.1417, allocations: 8 kB / 0.6642 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1417, allocations: 3.984 kB / 0.6642 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.1417, allocations: 4 kB / 0.6642 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1417, allocations: 0 / 0.6642 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1417, allocations: 0 / 0.6642 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.142, allocations: 184.3 kB / 0.6643 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-05/0.142, allocations: 89.08 kB / 0.6644 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.142, allocations: 4 kB / 0.6644 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.1421, allocations: 4 kB / 0.6644 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.1421, allocations: 0 / 0.6644 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.1422, allocations: 12.11 kB / 0.6644 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.455e-05/0.1422, allocations: 75.28 kB / 0.6645 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1422, allocations: 0 / 0.6645 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002571/0.1425, allocations: 23.94 kB / 0.6645 GB, free: 4.875 MB / 0.4981 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.0005599/0.143, allocations: 0.7367 MB / 0.6653 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.1432, allocations: 31.98 kB / 0.6653 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1432, allocations: 0 / 0.6653 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.329e-05/0.1432, allocations: 19.94 kB / 0.6653 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.1434, allocations: 16 kB / 0.6653 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.1447, allocations: 1.318 MB / 0.6666 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.145, allocations: 0.6846 MB / 0.6673 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.039e-05/0.1451, allocations: 4.25 kB / 0.6673 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.1451, allocations: 15.44 kB / 0.6673 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1451, allocations: 3.938 kB / 0.6673 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.1676, allocations: 1.612 MB / 0.6689 GB, free: 476 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.31/8.477, allocations: 7.375 kB / 0.6689 GB, free: 472 kB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)