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: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",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.0009951/0.0009952, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006135/0.006135, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9058/0.9058, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002842/0.0002843, allocations: 9.219 kB / 0.5077 GB, free: 4.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1253, allocations: 82.3 MB / 0.5881 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001297/0.1266, allocations: 1.184 MB / 0.5892 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009325/0.1276, allocations: 0.6347 MB / 0.5899 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.875e-05/0.1276, allocations: 0 / 0.5899 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.1276, allocations: 3.938 kB / 0.5899 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.464e-05/0.1277, allocations: 11.91 kB / 0.5899 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.1281, allocations: 135.6 kB / 0.59 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.207e-05/0.1282, allocations: 43.86 kB / 0.59 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.455e-05/0.1282, allocations: 7.984 kB / 0.59 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.648e-05/0.1283, allocations: 19.94 kB / 0.5901 GB, free: 500 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.908e-05/0.1283, allocations: 23.89 kB / 0.5901 GB, free: 476 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.1283, allocations: 4 kB / 0.5901 GB, free: 472 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004303/0.1288, allocations: 343.3 kB / 0.5904 GB, free: 128 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.1288, allocations: 19.91 kB / 0.5904 GB, free: 108 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.784e-05/0.1288, allocations: 49.58 kB / 0.5905 GB, free: 52 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.1291, allocations: 179.8 kB / 0.5907 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1291, allocations: 0 / 0.5907 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1291, allocations: 4 kB / 0.5907 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.865e-06/0.1291, allocations: 0 / 0.5907 GB, free: 15.87 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.0004719/0.1296, allocations: 383.3 kB / 0.591 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1296, allocations: 16.02 kB / 0.591 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.1297, allocations: 34.75 kB / 0.5911 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.1297, allocations: 16.78 kB / 0.5911 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.95e-05/0.1298, allocations: 168.3 kB / 0.5913 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.1298, allocations: 8.375 kB / 0.5913 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.1299, allocations: 8.359 kB / 0.5913 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.1301, allocations: 89.58 kB / 0.5914 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.1301, allocations: 0 / 0.5914 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1301, allocations: 4 kB / 0.5914 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.1301, allocations: 8 kB / 0.5914 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002464/0.1304, allocations: 51.95 kB / 0.5914 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.1309, allocations: 336.6 kB / 0.5917 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.1312, allocations: 86.53 kB / 0.5918 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.1313, allocations: 36.78 kB / 0.5919 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.1313, allocations: 4 kB / 0.5919 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.1314, allocations: 34.56 kB / 0.5919 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1314, allocations: 0 / 0.5919 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001536/0.1329, allocations: 0.6833 MB / 0.5926 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.133, allocations: 51.41 kB / 0.5926 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.68e-05/0.133, allocations: 97.84 kB / 0.5927 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.133, allocations: 29.7 kB / 0.5927 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/0.1331, allocations: 88.05 kB / 0.5928 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.1331, allocations: 39.45 kB / 0.5929 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.1332, allocations: 21.72 kB / 0.5929 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.679e-05/0.1332, allocations: 314.8 kB / 0.5932 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.1334, allocations: 39.97 kB / 0.5932 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.1335, allocations: 35.98 kB / 0.5932 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.1338, allocations: 84.52 kB / 0.5933 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1338, allocations: 0 / 0.5933 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003177/0.1341, allocations: 125.7 kB / 0.5934 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1341, allocations: 8 kB / 0.5935 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.1342, allocations: 7.938 kB / 0.5935 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.1342, allocations: 4.031 kB / 0.5935 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.1343, allocations: 31.92 kB / 0.5935 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.1343, allocations: 3.984 kB / 0.5935 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.003e-05/0.1344, allocations: 8 kB / 0.5935 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.1344, allocations: 4 kB / 0.5935 GB, free: 12.64 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 7.029e-05/0.1345, allocations: 117.8 kB / 0.5936 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.1345, allocations: 7.906 kB / 0.5936 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.1349, allocations: 137.5 kB / 0.5938 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1349, allocations: 3.938 kB / 0.5938 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1349, allocations: 0 / 0.5938 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1349, allocations: 192 / 0.5938 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005307/0.1355, allocations: 398.4 kB / 0.5941 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1355, allocations: 3.938 kB / 0.5941 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.1357, allocations: 35.97 kB / 0.5942 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1357, allocations: 0 / 0.5942 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1357, allocations: 0 / 0.5942 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1357, allocations: 4 kB / 0.5942 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1357, allocations: 0 / 0.5942 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004985/0.1362, allocations: 269.1 kB / 0.5944 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.1362, allocations: 85.08 kB / 0.5945 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.1363, allocations: 3.984 kB / 0.5945 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.1364, allocations: 12 kB / 0.5945 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.1364, allocations: 7.984 kB / 0.5945 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.1364, allocations: 4 kB / 0.5946 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.101e-05/0.1365, allocations: 83.28 kB / 0.5946 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1365, allocations: 0 / 0.5946 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002585/0.1367, allocations: 35.98 kB / 0.5947 GB, free: 11.34 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0007748/0.1375, allocations: 0.8333 MB / 0.5955 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003108/0.1378, allocations: 95.88 kB / 0.5956 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1378, allocations: 0 / 0.5956 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.138, allocations: 51.88 kB / 0.5956 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.1383, allocations: 15.64 kB / 0.5956 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.1401, allocations: 1.682 MB / 0.5973 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.1403, allocations: 0.6973 MB / 0.598 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.421e-05/0.1404, allocations: 12.66 kB / 0.598 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.1404, allocations: 19.44 kB / 0.598 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1404, allocations: 0 / 0.598 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4348/0.5752, allocations: 2.085 MB / 0.6 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.5754, allocations: 244 kB / 0.6003 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.427/3.002, allocations: 0 / 0.6003 GB, free: 5.695 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)