Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.000927/0.000927, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009218/0.0009218, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.914/0.914, 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.7165/0.7165, allocations: 154.6 MB / 413.8 MB, free: 0.8125 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_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6181 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.565e-05, allocations: 8.922 kB / 0.6181 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00152/0.001536, allocations: 1.295 MB / 0.6194 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0007076/0.002243, allocations: 0.537 MB / 0.6199 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.002267, allocations: 4 kB / 0.6199 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.002285, allocations: 3.938 kB / 0.6199 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 3.852e-05/0.002324, allocations: 3.938 kB / 0.6199 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004375/0.002761, allocations: 144.9 kB / 0.62 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 6.778e-05/0.002829, allocations: 27.84 kB / 0.6201 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 4.843e-05/0.002878, allocations: 4 kB / 0.6201 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 6.188e-05/0.002939, allocations: 12 kB / 0.6201 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 5.232e-05/0.002992, allocations: 3.984 kB / 0.6201 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.003007, allocations: 8 kB / 0.6201 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.003287, allocations: 267.4 kB / 0.6203 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.003303, allocations: 3.984 kB / 0.6203 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.003323, allocations: 7.938 kB / 0.6204 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.003521, allocations: 151.5 kB / 0.6205 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003523, allocations: 0 / 0.6205 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003524, allocations: 0 / 0.6205 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.003528, allocations: 4 kB / 0.6205 GB, free: 10.11 MB / 0.5417 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.0003777/0.003906, allocations: 295.8 kB / 0.6208 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.00395, allocations: 8.031 kB / 0.6208 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.003979, allocations: 34.75 kB / 0.6208 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.004007, allocations: 4.938 kB / 0.6208 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.91e-05/0.004086, allocations: 109.7 kB / 0.6209 GB, free: 9.605 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.004098, allocations: 384 / 0.6209 GB, free: 9.605 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.004119, allocations: 12.36 kB / 0.6209 GB, free: 9.594 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.004228, allocations: 63.95 kB / 0.621 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.004235, allocations: 192 / 0.621 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.004245, allocations: 4.375 kB / 0.621 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.004251, allocations: 8.062 kB / 0.621 GB, free: 9.508 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.64e-05/0.004287, allocations: 7.984 kB / 0.621 GB, free: 9.5 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.004419, allocations: 124.8 kB / 0.6211 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.004595, allocations: 46.61 kB / 0.6212 GB, free: 9.281 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/0.004624, allocations: 20.94 kB / 0.6212 GB, free: 9.258 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.004644, allocations: 0 / 0.6212 GB, free: 9.258 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.004663, allocations: 30.56 kB / 0.6212 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.004664, allocations: 7.938 kB / 0.6212 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0004459/0.00511, allocations: 229.2 kB / 0.6215 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.005135, allocations: 51.41 kB / 0.6215 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.548e-05/0.00518, allocations: 97.84 kB / 0.6216 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.005192, allocations: 37.64 kB / 0.6216 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.384e-05/0.005216, allocations: 84.14 kB / 0.6217 GB, free: 8.656 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.00524, allocations: 15.8 kB / 0.6217 GB, free: 8.641 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.005268, allocations: 25.7 kB / 0.6218 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.448e-05/0.005343, allocations: 314.8 kB / 0.6221 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.00536, allocations: 12 kB / 0.6221 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.399e-05/0.005374, allocations: 7.984 kB / 0.6221 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.37e-05/0.005418, allocations: 37 kB / 0.6221 GB, free: 8.234 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.005418, allocations: 0 / 0.6221 GB, free: 8.234 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.277e-05/0.005481, allocations: 69.58 kB / 0.6222 GB, free: 8.16 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.005493, allocations: 6.656 kB / 0.6222 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.005497, allocations: 8 kB / 0.6222 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.005509, allocations: 11.94 kB / 0.6222 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.216e-05/0.005541, allocations: 8 kB / 0.6222 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.005547, allocations: 3.984 kB / 0.6222 GB, free: 8.125 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.071e-05/0.005557, allocations: 4 kB / 0.6222 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.005562, allocations: 4 kB / 0.6222 GB, free: 8.117 MB / 0.5417 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 0.0001193/0.005681, allocations: 106.8 kB / 0.6223 GB, free: 8.004 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-06/0.005687, allocations: 8 kB / 0.6223 GB, free: 7.996 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.536e-05/0.005782, allocations: 70.27 kB / 0.6224 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.005786, allocations: 11.92 kB / 0.6224 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.00579, allocations: 0 / 0.6224 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.005793, allocations: 4 kB / 0.6224 GB, free: 7.902 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.006013, allocations: 278.5 kB / 0.6227 GB, free: 7.578 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.006016, allocations: 7.922 kB / 0.6227 GB, free: 7.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-05/0.006055, allocations: 15.98 kB / 0.6227 GB, free: 7.555 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.006056, allocations: 0 / 0.6227 GB, free: 7.555 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.006062, allocations: 0 / 0.6227 GB, free: 7.555 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.006063, allocations: 0 / 0.6227 GB, free: 7.555 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006064, allocations: 4 kB / 0.6227 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.006188, allocations: 176.3 kB / 0.6229 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.006203, allocations: 11.95 kB / 0.6229 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.006216, allocations: 4.094 kB / 0.6229 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.29e-05/0.006259, allocations: 8 kB / 0.6229 GB, free: 7.336 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.006273, allocations: 3.984 kB / 0.6229 GB, free: 7.332 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.006278, allocations: 4.188 kB / 0.6229 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.353e-05/0.006301, allocations: 79.28 kB / 0.623 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.006301, allocations: 0 / 0.623 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001632/0.006465, allocations: 19.94 kB / 0.623 GB, free: 7.23 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0003515/0.006816, allocations: 0.7404 MB / 0.6237 GB, free: 6.461 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.202e-05/0.006898, allocations: 31.98 kB / 0.6238 GB, free: 6.43 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.0069, allocations: 4.062 kB / 0.6238 GB, free: 6.426 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.695e-05/0.006917, allocations: 19.88 kB / 0.6238 GB, free: 6.406 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.00708, allocations: 7.984 kB / 0.6238 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008389/0.007919, allocations: 1.305 MB / 0.6251 GB, free: 5.004 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.93e-05/0.007958, allocations: 67.41 kB / 0.6251 GB, free: 4.918 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.086e-05/0.007979, allocations: 4.312 kB / 0.6251 GB, free: 4.914 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.008005, allocations: 12.5 kB / 0.6251 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of SimCode: time 5.91e-07/0.008005, allocations: 0 / 0.6251 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.02373, allocations: 2.239 MB / 0.6273 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.537/6.56, allocations: 7.938 kB / 0.6273 GB, free: 2.871 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_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_DerivativeCheck.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.322876866906881] Failed to read output from testmodel.py, exit status != 0: 6.637273374944925 6.646042913 6.640888794 Calling exit ...