Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.00582/0.00582, allocations: 100.4 kB / 15.73 MB, free: 6.062 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.001255/0.001255, allocations: 199.9 kB / 16.68 MB, free: 5.973 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.293/1.293, allocations: 222.9 MB / 240.4 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.7744/0.7744, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001445, allocations: 62.41 kB / 0.5851 GB, free: 21.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1468, allocations: 80.92 MB / 0.6641 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002481/0.1494, allocations: 1.285 MB / 0.6654 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009717/0.1504, allocations: 0.6075 MB / 0.666 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.921e-05/0.1504, allocations: 0 / 0.666 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/0.1504, allocations: 3.938 kB / 0.666 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.046e-05/0.1505, allocations: 0 / 0.666 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006073/0.1511, allocations: 143.4 kB / 0.6661 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.031e-05/0.1512, allocations: 23.91 kB / 0.6662 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.816e-05/0.1512, allocations: 3.938 kB / 0.6662 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.527e-05/0.1513, allocations: 7.938 kB / 0.6662 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.009e-05/0.1513, allocations: 15.98 kB / 0.6662 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.1514, allocations: 0 / 0.6662 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004672/0.1518, allocations: 343.4 kB / 0.6665 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.1519, allocations: 3.938 kB / 0.6665 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.1519, allocations: 7.938 kB / 0.6665 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.1521, allocations: 143.1 kB / 0.6667 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1522, allocations: 4 kB / 0.6667 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1522, allocations: 0 / 0.6667 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.1522, allocations: 0 / 0.6667 GB, free: 3.691 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.0004083/0.1526, allocations: 363.7 kB / 0.667 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1526, allocations: 9.109 kB / 0.667 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.843e-05/0.1527, allocations: 38.69 kB / 0.6671 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.1527, allocations: 4.938 kB / 0.6671 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1528, allocations: 172.2 kB / 0.6672 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1528, allocations: 384 / 0.6672 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.1529, allocations: 8.125 kB / 0.6672 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.153, allocations: 37.69 kB / 0.6673 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.153, allocations: 0 / 0.6673 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.153, allocations: 7.938 kB / 0.6673 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.153, allocations: 4 kB / 0.6673 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.898e-05/0.1531, allocations: 8 kB / 0.6673 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.1532, allocations: 157.7 kB / 0.6674 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.1534, allocations: 46.55 kB / 0.6675 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.485e-05/0.1535, allocations: 24.88 kB / 0.6675 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.1535, allocations: 0 / 0.6675 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.1535, allocations: 34.56 kB / 0.6675 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1535, allocations: 0 / 0.6675 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006036/0.1541, allocations: 310.5 kB / 0.6678 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.1542, allocations: 51.41 kB / 0.6679 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.908e-05/0.1543, allocations: 101.8 kB / 0.668 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.1543, allocations: 25.7 kB / 0.668 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.066e-05/0.1543, allocations: 84.14 kB / 0.6681 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.1543, allocations: 23.66 kB / 0.6681 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.1544, allocations: 21.7 kB / 0.6681 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.1545, allocations: 314.8 kB / 0.6684 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.562e-05/0.1545, allocations: 8 kB / 0.6684 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.339e-05/0.1545, allocations: 15.98 kB / 0.6685 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.997e-05/0.1546, allocations: 32.84 kB / 0.6685 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1546, allocations: 7.938 kB / 0.6685 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.424e-05/0.1547, allocations: 57.84 kB / 0.6685 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1547, allocations: 8 kB / 0.6686 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1547, allocations: 4.078 kB / 0.6686 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1548, allocations: 0 / 0.6686 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.204e-05/0.1548, allocations: 16 kB / 0.6686 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.1548, allocations: 3.984 kB / 0.6686 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/0.1549, allocations: 8 kB / 0.6686 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1549, allocations: 3.984 kB / 0.6686 GB, free: 1.441 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.872e-05/0.1549, allocations: 115.1 kB / 0.6687 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.155, allocations: 3.906 kB / 0.6687 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.1551, allocations: 81.53 kB / 0.6688 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1551, allocations: 4 kB / 0.6688 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1551, allocations: 0 / 0.6688 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1551, allocations: 3.984 kB / 0.6688 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.1554, allocations: 307.4 kB / 0.6691 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1554, allocations: 0 / 0.6691 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.293e-05/0.1555, allocations: 15.94 kB / 0.6691 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1555, allocations: 0 / 0.6691 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.1555, allocations: 0 / 0.6691 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1555, allocations: 0 / 0.6691 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1555, allocations: 8.031 kB / 0.6691 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.1557, allocations: 184.3 kB / 0.6693 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.1558, allocations: 85 kB / 0.6694 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.1558, allocations: 8.031 kB / 0.6694 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.1559, allocations: 0 / 0.6694 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.1559, allocations: 7.938 kB / 0.6694 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.1559, allocations: 8.188 kB / 0.6694 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.188e-05/0.1559, allocations: 83.27 kB / 0.6695 GB, free: 444 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1559, allocations: 0 / 0.6695 GB, free: 444 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002426/0.1562, allocations: 20 kB / 0.6695 GB, free: 424 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0004663/0.1567, allocations: 0.729 MB / 0.6702 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.1568, allocations: 31.94 kB / 0.6702 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.1568, allocations: 4 kB / 0.6702 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.774e-05/0.1568, allocations: 15.98 kB / 0.6702 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.1571, allocations: 20.94 kB / 0.6703 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.1582, allocations: 1.319 MB / 0.6716 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.1584, allocations: 0.6807 MB / 0.6722 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.027e-05/0.1584, allocations: 4 kB / 0.6722 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.1585, allocations: 15.44 kB / 0.6722 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of SimCode: time 1.704e-06/0.1585, allocations: 4 kB / 0.6722 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.1777, allocations: 1.619 MB / 0.6738 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/8.097, allocations: 10.86 kB / 0.6738 GB, free: 11.97 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)