Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.0007907/0.0007907, 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.0008227/0.0008227, allocations: 169.9 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.8761/0.8761, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7138/0.7138, allocations: 154.6 MB / 413.8 MB, free: 0.8008 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_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_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_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.374e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002106/0.00213, allocations: 1.292 MB / 0.6194 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008017/0.002931, allocations: 0.5409 MB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.002965, allocations: 0 / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/0.002989, allocations: 3.938 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.322e-05/0.003032, allocations: 11.98 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005765/0.003609, allocations: 146 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.845e-05/0.003677, allocations: 19.92 kB / 0.6201 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.003725, allocations: 7.984 kB / 0.6201 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.915e-05/0.003784, allocations: 15.92 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.909e-05/0.003833, allocations: 4 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.003847, allocations: 0 / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.00416, allocations: 275.4 kB / 0.6204 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.004177, allocations: 3.984 kB / 0.6204 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.08e-05/0.004198, allocations: 8 kB / 0.6204 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.00441, allocations: 151.5 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.004415, allocations: 4 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.954e-06/0.004417, allocations: 0 / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.004423, allocations: 0 / 0.6205 GB, free: 11.21 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003773/0.0048, allocations: 288.1 kB / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.004844, allocations: 8.031 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.218e-05/0.004876, allocations: 30.75 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.004904, allocations: 8.891 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.058e-05/0.004994, allocations: 105.7 kB / 0.6209 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.005005, allocations: 4.375 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.005026, allocations: 12.31 kB / 0.621 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.005141, allocations: 63.89 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.005148, allocations: 4.188 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.00516, allocations: 8.359 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.005166, allocations: 4.125 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.414e-05/0.005201, allocations: 7.984 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.005337, allocations: 128.8 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.005519, allocations: 42.56 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.005546, allocations: 20.8 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.005566, allocations: 4 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.005586, allocations: 30.56 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.005587, allocations: 0 / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0005747/0.006162, allocations: 233.2 kB / 0.6215 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.006199, allocations: 55.39 kB / 0.6215 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.929e-05/0.006258, allocations: 93.86 kB / 0.6216 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.006269, allocations: 25.7 kB / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.006298, allocations: 88.14 kB / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.006328, allocations: 27.72 kB / 0.6218 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.006361, allocations: 21.72 kB / 0.6218 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.706e-05/0.006448, allocations: 318.8 kB / 0.6221 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.443e-05/0.006473, allocations: 11.98 kB / 0.6221 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.787e-05/0.006491, allocations: 8 kB / 0.6221 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.343e-05/0.006544, allocations: 36.8 kB / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.006545, allocations: 0 / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.889e-05/0.006624, allocations: 61.69 kB / 0.6222 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.006639, allocations: 4 kB / 0.6222 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.006645, allocations: 240 / 0.6222 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.006662, allocations: 8 kB / 0.6222 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.577e-05/0.006718, allocations: 15.98 kB / 0.6222 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.006725, allocations: 3.984 kB / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.491e-05/0.006739, allocations: 8 kB / 0.6222 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.006749, allocations: 4 kB / 0.6222 GB, free: 9.227 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 (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 7.71e-05/0.006826, allocations: 110.8 kB / 0.6223 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.006837, allocations: 4 kB / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.006972, allocations: 73.8 kB / 0.6224 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.006976, allocations: 3.938 kB / 0.6224 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.00698, allocations: 3.938 kB / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.006983, allocations: 4 kB / 0.6224 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.007247, allocations: 282.5 kB / 0.6227 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.007251, allocations: 11.95 kB / 0.6227 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.417e-05/0.007305, allocations: 12 kB / 0.6227 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.007309, allocations: 0.5156 kB / 0.6227 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.007315, allocations: 0 / 0.6227 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.007318, allocations: 0 / 0.6227 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.00732, allocations: 0 / 0.6227 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.007469, allocations: 180.3 kB / 0.6229 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.00749, allocations: 7.969 kB / 0.6229 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.007502, allocations: 0 / 0.6229 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.563e-05/0.007548, allocations: 4 kB / 0.6229 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.007566, allocations: 11.97 kB / 0.6229 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.007572, allocations: 8.25 kB / 0.6229 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.736e-05/0.0076, allocations: 75.28 kB / 0.623 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.0076, allocations: 3.938 kB / 0.623 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001839/0.007783, allocations: 27.92 kB / 0.623 GB, free: 8.332 MB / 0.5886 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 () * 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.0004098/0.008193, allocations: 0.7365 MB / 0.6237 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.14e-05/0.008285, allocations: 31.98 kB / 0.6238 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.008287, allocations: 0 / 0.6238 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.991e-05/0.008306, allocations: 19.92 kB / 0.6238 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.008474, allocations: 12.12 kB / 0.6238 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009582/0.009432, allocations: 1.298 MB / 0.6251 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.008e-05/0.009493, allocations: 67.34 kB / 0.6251 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003595/0.009852, allocations: 8.312 kB / 0.6251 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.009894, allocations: 8.5 kB / 0.6251 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of SimCode: time 1.292e-06/0.009895, allocations: 0 / 0.6251 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.03031, allocations: 2.264 MB / 0.6274 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.57/7.601, allocations: 0.9375 kB / 0.6274 GB, free: 3.961 MB / 0.5886 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.449642387218773] Failed to read output from testmodel.py, exit status != 0: 7.681158611550927 7.696658931 7.688589221 Calling exit ...