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/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_DerivativeCheck,fileNamePrefix="IDEAS_dev_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_dev_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.001002/0.001002, allocations: 91.3 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.007979/0.007979, allocations: 173.6 kB / 16.27 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9099/0.9099, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002943/0.0002944, allocations: 8 kB / 0.5077 GB, free: 4.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1284, allocations: 82.31 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001169/0.1296, allocations: 0.9945 MB / 0.5891 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009399/0.1306, allocations: 0.6168 MB / 0.5897 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.468e-05/0.1306, allocations: 0 / 0.5897 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.6e-05/0.1306, allocations: 3.938 kB / 0.5897 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.348e-05/0.1307, allocations: 7.984 kB / 0.5897 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.1311, allocations: 115.6 kB / 0.5898 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.101e-05/0.1312, allocations: 19.94 kB / 0.5898 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.236e-05/0.1312, allocations: 0 / 0.5898 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.614e-05/0.1313, allocations: 15.92 kB / 0.5898 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.145e-05/0.1313, allocations: 11.92 kB / 0.5898 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.1313, allocations: 0 / 0.5898 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004604/0.1318, allocations: 339.4 kB / 0.5901 GB, free: 396 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.1318, allocations: 3.984 kB / 0.5902 GB, free: 392 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.1318, allocations: 45.62 kB / 0.5902 GB, free: 340 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.1321, allocations: 143.9 kB / 0.5903 GB, free: 196 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.1321, allocations: 0 / 0.5903 GB, free: 196 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1321, allocations: 0 / 0.5903 GB, free: 196 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.1321, allocations: 0 / 0.5903 GB, free: 196 kB / 494.1 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.0003379/0.1325, allocations: 359.4 kB / 0.5907 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.1325, allocations: 8.031 kB / 0.5907 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.1325, allocations: 34.75 kB / 0.5907 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.1326, allocations: 4.938 kB / 0.5907 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.925e-05/0.1327, allocations: 168.3 kB / 0.5909 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.1327, allocations: 384 / 0.5909 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.1327, allocations: 4.375 kB / 0.5909 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.713e-05/0.1328, allocations: 41.62 kB / 0.5909 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.08e-06/0.1328, allocations: 0 / 0.5909 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1328, allocations: 4 kB / 0.5909 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1328, allocations: 0 / 0.5909 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.762e-05/0.1329, allocations: 15.92 kB / 0.5909 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.133, allocations: 157.7 kB / 0.5911 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.1332, allocations: 50.5 kB / 0.5911 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.1332, allocations: 20.84 kB / 0.5912 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.1332, allocations: 7.875 kB / 0.5912 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.1333, allocations: 30.56 kB / 0.5912 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1333, allocations: 0 / 0.5912 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005274/0.1338, allocations: 318.2 kB / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.1339, allocations: 51.41 kB / 0.5916 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.327e-05/0.1339, allocations: 97.86 kB / 0.5916 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.1339, allocations: 25.7 kB / 0.5917 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.544e-05/0.134, allocations: 80.14 kB / 0.5917 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.134, allocations: 23.73 kB / 0.5918 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.134, allocations: 13.72 kB / 0.5918 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.372e-05/0.1341, allocations: 314.8 kB / 0.5921 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.502e-05/0.1341, allocations: 15.98 kB / 0.5921 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.021e-05/0.1342, allocations: 12 kB / 0.5921 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.26e-05/0.1342, allocations: 33 kB / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1342, allocations: 0 / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.777e-05/0.1343, allocations: 73.53 kB / 0.5922 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.1344, allocations: 4 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.1344, allocations: 64 / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.649e-06/0.1344, allocations: 4 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.233e-05/0.1344, allocations: 15.92 kB / 0.5922 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1345, allocations: 4 kB / 0.5922 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.671e-05/0.1345, allocations: 4 kB / 0.5922 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.1345, allocations: 0 / 0.5922 GB, free: 13.96 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.251e-05/0.1346, allocations: 117.8 kB / 0.5924 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-06/0.1346, allocations: 0 / 0.5924 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.1347, allocations: 69.64 kB / 0.5924 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.1347, allocations: 4 kB / 0.5924 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1347, allocations: 0 / 0.5924 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1347, allocations: 3.938 kB / 0.5924 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.135, allocations: 315.4 kB / 0.5927 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.135, allocations: 0 / 0.5927 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.26e-05/0.1351, allocations: 19.92 kB / 0.5927 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1351, allocations: 0 / 0.5927 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.1351, allocations: 0 / 0.5927 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1351, allocations: 0 / 0.5927 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1351, allocations: 4 kB / 0.5928 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.1353, allocations: 188.2 kB / 0.5929 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.1353, allocations: 89.12 kB / 0.593 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.1354, allocations: 0 / 0.593 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.739e-05/0.1354, allocations: 0 / 0.593 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.1354, allocations: 7.984 kB / 0.593 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.1355, allocations: 192 / 0.593 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.377e-05/0.1355, allocations: 91.67 kB / 0.5931 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1355, allocations: 0 / 0.5931 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002479/0.1358, allocations: 23.94 kB / 0.5931 GB, free: 12.93 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.0004213/0.1362, allocations: 0.7329 MB / 0.5938 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.401e-05/0.1363, allocations: 31.92 kB / 0.5939 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1363, allocations: 4 kB / 0.5939 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.59e-05/0.1363, allocations: 16.06 kB / 0.5939 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.1365, allocations: 14 kB / 0.5939 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.1376, allocations: 1.355 MB / 0.5952 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.1378, allocations: 0.6848 MB / 0.5959 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.105e-05/0.1378, allocations: 8.281 kB / 0.5959 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.1379, allocations: 11.44 kB / 0.5959 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of SimCode: time 1.633e-06/0.1379, allocations: 0 / 0.5959 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4958/0.6337, allocations: 1.412 MB / 0.5973 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.6339, allocations: 244.4 kB / 0.5975 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/3.09, allocations: 2.188 kB / 0.5975 GB, free: 8.484 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)