Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009717/0.0009717, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9021/0.9021, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7283/0.7283, allocations: 154.6 MB / 413.8 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.572e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002272/0.002298, allocations: 1.296 MB / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.003328, allocations: 0.5486 MB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/0.00336, allocations: 0 / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.003389, allocations: 3.938 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.243e-05/0.003431, allocations: 3.984 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005675/0.003999, allocations: 158.6 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.402e-05/0.004073, allocations: 23.92 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.625e-05/0.004129, allocations: 8 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.004267, allocations: 19.91 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.531e-05/0.004332, allocations: 11.98 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.004352, allocations: 0 / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003751/0.004727, allocations: 267.4 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.004749, allocations: 7.984 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.004771, allocations: 8 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.005034, allocations: 175.4 kB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.005037, allocations: 0 / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.512e-06/0.005038, allocations: 0 / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.005043, allocations: 0 / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003958/0.005439, allocations: 296 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.005484, allocations: 12.03 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.00552, allocations: 30.75 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.005552, allocations: 8.891 kB / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.295e-05/0.005644, allocations: 109.7 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.005659, allocations: 8.375 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.005682, allocations: 4.375 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.005824, allocations: 109.6 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.005837, allocations: 192 / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.005847, allocations: 4.375 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.005854, allocations: 4.125 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.325e-05/0.005907, allocations: 15.98 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.006067, allocations: 132.8 kB / 0.6213 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.006177, allocations: 58.55 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.152e-05/0.006218, allocations: 20.86 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.006246, allocations: 3.984 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.006272, allocations: 42.5 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.006273, allocations: 0 / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0009766/0.00725, allocations: 455.8 kB / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.007285, allocations: 55.39 kB / 0.6219 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.9e-05/0.007344, allocations: 93.86 kB / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.007359, allocations: 29.7 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/0.007389, allocations: 80.14 kB / 0.6221 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.007431, allocations: 47.77 kB / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.007475, allocations: 25.72 kB / 0.6221 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.24e-05/0.007567, allocations: 318.8 kB / 0.6224 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-05/0.00761, allocations: 20 kB / 0.6225 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.881e-05/0.007648, allocations: 19.98 kB / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.657e-05/0.007745, allocations: 63.72 kB / 0.6225 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.007746, allocations: 0 / 0.6225 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001418/0.007888, allocations: 93.62 kB / 0.6226 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.007902, allocations: 7.938 kB / 0.6226 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.007907, allocations: 0 / 0.6226 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.00792, allocations: 4 kB / 0.6226 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.799e-05/0.008018, allocations: 23.98 kB / 0.6227 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.008024, allocations: 0 / 0.6227 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.154e-05/0.008045, allocations: 4 kB / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.008054, allocations: 4 kB / 0.6227 GB, free: 8.707 MB / 0.5886 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.695e-05/0.008121, allocations: 122.7 kB / 0.6228 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.008134, allocations: 7.953 kB / 0.6228 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.008315, allocations: 101.7 kB / 0.6229 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.008318, allocations: 4 kB / 0.6229 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.008322, allocations: 0 / 0.6229 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.008326, allocations: 0 / 0.6229 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003692/0.008695, allocations: 325.5 kB / 0.6232 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.008697, allocations: 4 kB / 0.6232 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.771e-05/0.008795, allocations: 23.98 kB / 0.6232 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.008798, allocations: 3.984 kB / 0.6232 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.008806, allocations: 0 / 0.6232 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.00881, allocations: 8 kB / 0.6232 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008811, allocations: 0 / 0.6232 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.009036, allocations: 218.2 kB / 0.6235 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-06/0.009045, allocations: 15.92 kB / 0.6235 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.009058, allocations: 0 / 0.6235 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.009142, allocations: 8.047 kB / 0.6235 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.022e-05/0.009162, allocations: 12 kB / 0.6235 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.00917, allocations: 3.984 kB / 0.6235 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.659e-05/0.009196, allocations: 79.28 kB / 0.6236 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.009196, allocations: 0 / 0.6236 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002915/0.009488, allocations: 35.88 kB / 0.6236 GB, free: 7.676 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0005377/0.01003, allocations: 0.7748 MB / 0.6244 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001483/0.01017, allocations: 63.84 kB / 0.6244 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01018, allocations: 0 / 0.6244 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.88e-05/0.01022, allocations: 40.08 kB / 0.6245 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.01047, allocations: 8 kB / 0.6245 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.01179, allocations: 1.45 MB / 0.6259 GB, free: 5.234 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.003e-05/0.01185, allocations: 72.28 kB / 0.6259 GB, free: 5.145 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.884e-05/0.0119, allocations: 23.86 kB / 0.626 GB, free: 5.121 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.01194, allocations: 24.56 kB / 0.626 GB, free: 5.094 MB / 0.5886 GB Notification: Performance of SimCode: time 8.22e-07/0.01194, allocations: 0 / 0.626 GB, free: 5.094 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.02957, allocations: 2.695 MB / 0.6286 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.883/6.912, allocations: 14.2 kB / 0.6286 GB, free: 2.609 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.764263976365328] Failed to read output from testmodel.py, exit status != 0: 6.990651162341237 7.007242258 6.999655455 Calling exit ...