Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001836/0.001836, allocations: 102.6 kB / 16.45 MB, free: 6.445 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.001992/0.001992, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.389/1.389, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8285/0.8285, allocations: 133.9 MB / 436.6 MB, free: 13.8 MB / 350.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/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_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_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.001835/0.001835, allocations: 68.11 kB / 0.6051 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3801, allocations: 84.67 MB / 0.6878 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002232/0.3823, allocations: 1.468 MB / 0.6892 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000867/0.3832, allocations: 0.6499 MB / 0.6899 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.3832, allocations: 1.188 kB / 0.6899 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.3832, allocations: 3.938 kB / 0.6899 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.139e-05/0.3833, allocations: 9.172 kB / 0.6899 GB, free: 132 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.3838, allocations: 169.4 kB / 0.69 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.3839, allocations: 50.58 kB / 0.6901 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.3839, allocations: 2.062 kB / 0.6901 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.148e-05/0.384, allocations: 26.08 kB / 0.6901 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.384, allocations: 27.45 kB / 0.6901 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.3841, allocations: 4.688 kB / 0.6901 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000518/0.3846, allocations: 344.4 kB / 0.6905 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.3846, allocations: 10.42 kB / 0.6905 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.897e-05/0.3846, allocations: 31.89 kB / 0.6905 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.3849, allocations: 177.2 kB / 0.6907 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3849, allocations: 1.094 kB / 0.6907 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3849, allocations: 0 / 0.6907 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3849, allocations: 0 / 0.6907 GB, free: 15.62 MB / 0.5137 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.0006151/0.3855, allocations: 402.7 kB / 0.6911 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3856, allocations: 13.77 kB / 0.6911 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.856e-05/0.3856, allocations: 37.16 kB / 0.6911 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.3857, allocations: 8.547 kB / 0.6911 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.3858, allocations: 165.6 kB / 0.6913 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.3858, allocations: 3.688 kB / 0.6913 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.3858, allocations: 13.12 kB / 0.6913 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.3861, allocations: 86.23 kB / 0.6914 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.3861, allocations: 3.953 kB / 0.6914 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3861, allocations: 5.062 kB / 0.6914 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3861, allocations: 5.375 kB / 0.6914 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.3863, allocations: 49.08 kB / 0.6914 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005401/0.3869, allocations: 324.8 kB / 0.6918 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.3872, allocations: 78.28 kB / 0.6918 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.3873, allocations: 30.34 kB / 0.6919 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.3873, allocations: 5.062 kB / 0.6919 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.3873, allocations: 31.66 kB / 0.6919 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.3873, allocations: 0 / 0.6919 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001626/0.3889, allocations: 0.6559 MB / 0.6925 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.389, allocations: 54.03 kB / 0.6926 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.246e-05/0.3891, allocations: 101.7 kB / 0.6927 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.3891, allocations: 26.77 kB / 0.6927 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.3891, allocations: 90.16 kB / 0.6928 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.3892, allocations: 40.58 kB / 0.6928 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/0.3892, allocations: 34.3 kB / 0.6929 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3894, allocations: 317 kB / 0.6932 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.3895, allocations: 34.16 kB / 0.6932 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.3896, allocations: 31.23 kB / 0.6932 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.3898, allocations: 72.42 kB / 0.6933 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3898, allocations: 0 / 0.6933 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003021/0.3901, allocations: 126.9 kB / 0.6934 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3901, allocations: 5.656 kB / 0.6934 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3901, allocations: 3.984 kB / 0.6934 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3902, allocations: 5.031 kB / 0.6934 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.3903, allocations: 28.45 kB / 0.6935 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.3903, allocations: 1.062 kB / 0.6935 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.686e-05/0.3904, allocations: 3.281 kB / 0.6935 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.3904, allocations: 6.438 kB / 0.6935 GB, free: 13 MB / 0.5137 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 9.09e-05/0.3905, allocations: 122.3 kB / 0.6936 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.3905, allocations: 6.766 kB / 0.6936 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00036/0.3909, allocations: 130.9 kB / 0.6937 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3909, allocations: 1.25 kB / 0.6937 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.3909, allocations: 0 / 0.6937 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3909, allocations: 1.375 kB / 0.6937 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005546/0.3914, allocations: 387.6 kB / 0.6941 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3914, allocations: 0 / 0.6941 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.3916, allocations: 27.77 kB / 0.6941 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3916, allocations: 5.312 kB / 0.6941 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.3916, allocations: 5.281 kB / 0.6941 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.3916, allocations: 7.984 kB / 0.6941 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3916, allocations: 1.5 kB / 0.6941 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.3921, allocations: 247.1 kB / 0.6944 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.3921, allocations: 83.12 kB / 0.6945 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.3921, allocations: 5.219 kB / 0.6945 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.3923, allocations: 7.625 kB / 0.6945 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.3923, allocations: 7.641 kB / 0.6945 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.3923, allocations: 7.344 kB / 0.6945 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.794e-05/0.3923, allocations: 82.7 kB / 0.6946 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.3923, allocations: 4.062 kB / 0.6946 GB, free: 12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002725/0.3926, allocations: 42.66 kB / 0.6946 GB, free: 11.99 MB / 0.5137 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.0008751/0.3935, allocations: 0.8076 MB / 0.6954 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003028/0.3938, allocations: 88.27 kB / 0.6955 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3938, allocations: 1.094 kB / 0.6955 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.3939, allocations: 49.09 kB / 0.6955 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.3942, allocations: 11.12 kB / 0.6955 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.3963, allocations: 1.595 MB / 0.6971 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.3966, allocations: 0.6915 MB / 0.6978 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.687e-05/0.3966, allocations: 11.55 kB / 0.6978 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.3967, allocations: 24.92 kB / 0.6978 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.3967, allocations: 0 / 0.6978 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.4217, allocations: 2.347 MB / 0.7001 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.88/8.302, allocations: 13.97 kB / 0.7001 GB, free: 7.84 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.52693765424192] Failed to read output from testmodel.py, exit status != 0: 8.371803384274244 8.395893703 8.006233565 Calling exit ...