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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 113.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.068/1.068, allocations: 175.8 MB / 478.4 MB, free: 8.48 MB / 382.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.52 kB / 0.6652 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2194, allocations: 94.54 MB / 0.7575 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002854/0.2223, allocations: 1.471 MB / 0.759 GB, free: 432 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.46/0.6823, allocations: 0.6215 MB / 0.7596 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.303e-05/0.6824, allocations: 0.625 kB / 0.7596 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.896e-05/0.6824, allocations: 5.438 kB / 0.7596 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.581e-05/0.6825, allocations: 8.469 kB / 0.7596 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007783/0.6833, allocations: 160.1 kB / 0.7597 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.6834, allocations: 49.28 kB / 0.7598 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.231e-05/0.6834, allocations: 9.016 kB / 0.7598 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.942e-05/0.6835, allocations: 23.19 kB / 0.7598 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.042e-05/0.6836, allocations: 29.77 kB / 0.7598 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.6836, allocations: 4.094 kB / 0.7598 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000636/0.6842, allocations: 346.5 kB / 0.7602 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.364e-05/0.6842, allocations: 16.09 kB / 0.7602 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.6843, allocations: 26.47 kB / 0.7602 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003582/0.6846, allocations: 175.9 kB / 0.7604 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6847, allocations: 0 / 0.7604 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.454e-06/0.6847, allocations: 2.281 kB / 0.7604 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.6847, allocations: 0.7031 kB / 0.7604 GB, free: 7.938 MB / 0.5762 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.0005836/0.6852, allocations: 395.9 kB / 0.7608 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.6853, allocations: 9.281 kB / 0.7608 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.344e-05/0.6853, allocations: 39.7 kB / 0.7608 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.6854, allocations: 11.48 kB / 0.7608 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.6855, allocations: 172.6 kB / 0.761 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.6855, allocations: 7.484 kB / 0.761 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.6855, allocations: 8.891 kB / 0.761 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.6858, allocations: 82.77 kB / 0.7611 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.6858, allocations: 1.422 kB / 0.7611 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.6858, allocations: 2.047 kB / 0.7611 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.6858, allocations: 2.188 kB / 0.7611 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002448/0.6861, allocations: 52.45 kB / 0.7611 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.6866, allocations: 321.1 kB / 0.7614 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.6869, allocations: 79.8 kB / 0.7615 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.687, allocations: 28.67 kB / 0.7615 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.687, allocations: 2.422 kB / 0.7615 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.687, allocations: 35.91 kB / 0.7616 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.687, allocations: 0 / 0.7616 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001581/0.6886, allocations: 0.6506 MB / 0.7622 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.6886, allocations: 56.89 kB / 0.7623 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.6887, allocations: 98.06 kB / 0.7624 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.6887, allocations: 32.28 kB / 0.7624 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.135e-05/0.6888, allocations: 94.12 kB / 0.7625 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.6888, allocations: 39.69 kB / 0.7625 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.6888, allocations: 26.75 kB / 0.7626 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.523e-05/0.6889, allocations: 320.1 kB / 0.7629 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.689, allocations: 34.59 kB / 0.7629 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.6891, allocations: 41.34 kB / 0.7629 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.6894, allocations: 72.66 kB / 0.763 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.6894, allocations: 0.5312 kB / 0.763 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003149/0.6897, allocations: 120.7 kB / 0.7631 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.6897, allocations: 4.375 kB / 0.7631 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.6897, allocations: 1.547 kB / 0.7631 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/0.6897, allocations: 5.312 kB / 0.7631 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.6899, allocations: 28.33 kB / 0.7632 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.6899, allocations: 1.391 kB / 0.7632 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.139e-05/0.69, allocations: 5.062 kB / 0.7632 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.69, allocations: 6.453 kB / 0.7632 GB, free: 5.797 MB / 0.5762 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 6.552e-05/0.69, allocations: 119.4 kB / 0.7633 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.6901, allocations: 8.234 kB / 0.7633 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003771/0.6905, allocations: 125.7 kB / 0.7634 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.6905, allocations: 6.25 kB / 0.7634 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6905, allocations: 0.7969 kB / 0.7634 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.6905, allocations: 4.078 kB / 0.7634 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005187/0.691, allocations: 385.4 kB / 0.7638 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.691, allocations: 3.938 kB / 0.7638 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.6911, allocations: 26.75 kB / 0.7638 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.6911, allocations: 1.031 kB / 0.7638 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.6912, allocations: 4.938 kB / 0.7638 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.6912, allocations: 6.031 kB / 0.7638 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6912, allocations: 0.8438 kB / 0.7638 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.6916, allocations: 253.3 kB / 0.7641 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.6917, allocations: 87.78 kB / 0.7641 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.6917, allocations: 4.25 kB / 0.7642 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.6918, allocations: 7.719 kB / 0.7642 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.6918, allocations: 5.406 kB / 0.7642 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.6918, allocations: 5.469 kB / 0.7642 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.967e-05/0.6919, allocations: 80.34 kB / 0.7642 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.6919, allocations: 64 / 0.7642 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003146/0.6922, allocations: 44.28 kB / 0.7643 GB, free: 4.992 MB / 0.5762 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.0007767/0.693, allocations: 0.8228 MB / 0.7651 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003397/0.6933, allocations: 83.7 kB / 0.7652 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6933, allocations: 1.031 kB / 0.7652 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.6934, allocations: 42.55 kB / 0.7652 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.6938, allocations: 14.75 kB / 0.7652 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.6962, allocations: 1.612 MB / 0.7668 GB, free: 19.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.6965, allocations: 0.6917 MB / 0.7675 GB, free: 18.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.132e-05/0.6966, allocations: 12.55 kB / 0.7675 GB, free: 18.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.6966, allocations: 27.59 kB / 0.7675 GB, free: 18.33 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.6966, allocations: 0 / 0.7675 GB, free: 18.33 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03121/0.7279, allocations: 2.343 MB / 0.7698 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.458/9.186, allocations: 7.031 kB / 0.7698 GB, free: 17.95 MB / 0.5919 GB " [Timeout remaining time 651] (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 --stepSize=0.0016 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.115816800389439] Failed to read output from testmodel.py, exit status != 0: 9.256764943245798 9.274839068 8.585956238 Calling exit ...