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: "" <> 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/Complex 4.0.0+maint.om/package.mo): time 0.0009927/0.0009927, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6884/0.6884, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.368/1.368, allocations: 221.3 MB / 400.4 MB, free: 5.828 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.0008725/0.0008726, allocations: 91.2 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.576e-05/3.587e-05, allocations: 3.188 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1359, allocations: 82.3 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4742/0.6101, allocations: 112 MB / 0.7498 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001686/0.6103, allocations: 74.98 kB / 0.7499 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.007587/0.6179, allocations: 2.869 MB / 0.7527 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.523e-06/0.618, allocations: 0 / 0.7527 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.618, allocations: 4 kB / 0.7527 GB, free: 27.43 MB / 0.5105 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.0002802/0.6183, allocations: 345.1 kB / 0.753 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.6183, allocations: 11.5 kB / 0.7531 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.075e-05/0.6184, allocations: 30.56 kB / 0.7531 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.6184, allocations: 3.906 kB / 0.7531 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.6185, allocations: 177.8 kB / 0.7533 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.6185, allocations: 0 / 0.7533 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.6185, allocations: 3.938 kB / 0.7533 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.6187, allocations: 44.09 kB / 0.7533 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.6187, allocations: 3.938 kB / 0.7533 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.6187, allocations: 0 / 0.7533 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.6187, allocations: 0 / 0.7533 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.601e-05/0.6188, allocations: 11.59 kB / 0.7533 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.6189, allocations: 161.2 kB / 0.7535 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.6191, allocations: 45.03 kB / 0.7535 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.6191, allocations: 20.52 kB / 0.7535 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.6192, allocations: 3 kB / 0.7535 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.6192, allocations: 38.28 kB / 0.7536 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.6192, allocations: 0 / 0.7536 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0005486/0.6197, allocations: 297.3 kB / 0.7539 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.6198, allocations: 51.41 kB / 0.7539 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.99e-05/0.6199, allocations: 99.8 kB / 0.754 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.6199, allocations: 33.58 kB / 0.754 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.6199, allocations: 80.14 kB / 0.7541 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.62, allocations: 19.25 kB / 0.7541 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.62, allocations: 0 / 0.7541 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.6201, allocations: 317.9 kB / 0.7544 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.498e-05/0.6201, allocations: 15.56 kB / 0.7544 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.706e-05/0.6201, allocations: 11.44 kB / 0.7545 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.712e-05/0.6202, allocations: 15.67 kB / 0.7545 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.6202, allocations: 0 / 0.7545 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.988e-05/0.6203, allocations: 66.55 kB / 0.7545 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.6203, allocations: 3.906 kB / 0.7545 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6203, allocations: 3.875 kB / 0.7545 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.6203, allocations: 0 / 0.7545 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.775e-05/0.6204, allocations: 7.719 kB / 0.7546 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.6204, allocations: 0 / 0.7546 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.828e-05/0.6204, allocations: 3.844 kB / 0.7546 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.6204, allocations: 3.094 kB / 0.7546 GB, free: 25.6 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.501e-05/0.6205, allocations: 112.8 kB / 0.7547 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.6205, allocations: 11.75 kB / 0.7547 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.6206, allocations: 70.89 kB / 0.7547 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.6206, allocations: 3.969 kB / 0.7548 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6206, allocations: 0 / 0.7548 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.6207, allocations: 0 / 0.7548 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.6209, allocations: 320.8 kB / 0.7551 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.621, allocations: 0 / 0.7551 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.598e-05/0.621, allocations: 9.406 kB / 0.7551 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.621, allocations: 3.875 kB / 0.7551 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.621, allocations: 4 kB / 0.7551 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6211, allocations: 0 / 0.7551 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6211, allocations: 192 / 0.7551 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.6212, allocations: 198.1 kB / 0.7553 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.6213, allocations: 84.86 kB / 0.7553 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.6213, allocations: 2.672 kB / 0.7553 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.527e-05/0.6214, allocations: 7.906 kB / 0.7554 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.6214, allocations: 7.641 kB / 0.7554 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.6214, allocations: 6.516 kB / 0.7554 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.366e-05/0.6214, allocations: 83.45 kB / 0.7554 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6215, allocations: 0 / 0.7554 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002307/0.6217, allocations: 31.16 kB / 0.7555 GB, free: 24.76 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004849/0.6222, allocations: 0.8112 MB / 0.7563 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.544e-05/0.6223, allocations: 30.41 kB / 0.7563 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6223, allocations: 0 / 0.7563 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.205e-05/0.6223, allocations: 21.22 kB / 0.7563 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.6225, allocations: 3.953 kB / 0.7563 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.6229, allocations: 195.1 kB / 0.7565 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.6231, allocations: 0.686 MB / 0.7572 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.217e-05/0.6232, allocations: 3.812 kB / 0.7572 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.6232, allocations: 18.75 kB / 0.7572 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of SimCode: time 7.02e-07/0.6232, allocations: 0 / 0.7572 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2895/0.9127, allocations: 1.359 MB / 0.7585 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/0.913, allocations: 196.2 kB / 0.7587 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.541, allocations: 0 / 0.7587 GB, free: 22.75 MB / 0.5105 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/linux/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)