Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008614/0.0008614, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009661/0.0009661, allocations: 223.7 kB / 22.26 MB, free: 3.703 MB / 13.93 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 1.013/1.013, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8386/0.8386, allocations: 203.8 MB / 0.5042 GB, free: 10.72 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_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_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009799/0.0009799, allocations: 68.58 kB / 0.7182 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4938/0.4948, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001762/0.4965, allocations: 1.298 MB / 0.8191 GB, free: 352 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007532/0.4973, allocations: 0.616 MB / 0.8197 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.4973, allocations: 0 / 0.8197 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.4973, allocations: 11.98 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.142e-05/0.4974, allocations: 4.703 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.4979, allocations: 156.1 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.971e-05/0.4979, allocations: 28.19 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.568e-05/0.498, allocations: 1.859 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.742e-05/0.498, allocations: 14.14 kB / 0.82 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.491e-05/0.4981, allocations: 10.81 kB / 0.82 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.4981, allocations: 7.484 kB / 0.82 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004009/0.4985, allocations: 342.5 kB / 0.8203 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.4985, allocations: 9.156 kB / 0.8203 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.4986, allocations: 19.05 kB / 0.8203 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.4988, allocations: 146.6 kB / 0.8205 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4988, allocations: 4 kB / 0.8205 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.435e-06/0.4988, allocations: 5.219 kB / 0.8205 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.4988, allocations: 0 / 0.8205 GB, free: 15.64 MB / 0.6198 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.0003699/0.4992, allocations: 293.1 kB / 0.8207 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.4992, allocations: 10.03 kB / 0.8208 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.867e-05/0.4992, allocations: 35.88 kB / 0.8208 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.4993, allocations: 7.688 kB / 0.8208 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.856e-05/0.4993, allocations: 110.2 kB / 0.8209 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.4994, allocations: 2.906 kB / 0.8209 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.4994, allocations: 5.969 kB / 0.8209 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.4995, allocations: 51.16 kB / 0.821 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4995, allocations: 4.547 kB / 0.821 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.4995, allocations: 0.625 kB / 0.821 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4995, allocations: 2.25 kB / 0.821 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.669e-05/0.4996, allocations: 21.12 kB / 0.821 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.4997, allocations: 139.9 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.44e-05/0.4998, allocations: 54.28 kB / 0.8212 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.529e-05/0.4998, allocations: 28.25 kB / 0.8212 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.4999, allocations: 2.031 kB / 0.8212 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.4999, allocations: 31.22 kB / 0.8212 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.4999, allocations: 0 / 0.8212 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0008345/0.5007, allocations: 469.1 kB / 0.8217 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.5007, allocations: 52.16 kB / 0.8217 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.571e-05/0.5008, allocations: 98.58 kB / 0.8218 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.5008, allocations: 25.7 kB / 0.8219 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.73e-05/0.5008, allocations: 90.41 kB / 0.8219 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.5009, allocations: 34.59 kB / 0.822 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.5009, allocations: 33.06 kB / 0.822 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.501, allocations: 314.2 kB / 0.8223 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.575e-05/0.501, allocations: 22.45 kB / 0.8223 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.055e-05/0.501, allocations: 23.22 kB / 0.8223 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.193e-05/0.5011, allocations: 54.53 kB / 0.8224 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5011, allocations: 3.938 kB / 0.8224 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001106/0.5012, allocations: 114.2 kB / 0.8225 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.5012, allocations: 5.188 kB / 0.8225 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.5012, allocations: 0 / 0.8225 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.5013, allocations: 0 / 0.8225 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.159e-05/0.5013, allocations: 22.03 kB / 0.8225 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5013, allocations: 0 / 0.8225 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.512e-05/0.5014, allocations: 0.6562 kB / 0.8225 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.5014, allocations: 3.938 kB / 0.8225 GB, free: 13.75 MB / 0.6198 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 5.574e-05/0.5014, allocations: 112.3 kB / 0.8226 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.5014, allocations: 15.16 kB / 0.8227 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.5016, allocations: 111.7 kB / 0.8228 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.5016, allocations: 0 / 0.8228 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5016, allocations: 0 / 0.8228 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5016, allocations: 1.219 kB / 0.8228 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.5019, allocations: 328.9 kB / 0.8231 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5019, allocations: 0 / 0.8231 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.727e-05/0.502, allocations: 19.48 kB / 0.8231 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.502, allocations: 1.516 kB / 0.8231 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.502, allocations: 5.062 kB / 0.8231 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.502, allocations: 5.75 kB / 0.8231 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.502, allocations: 3.984 kB / 0.8231 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.5022, allocations: 227.7 kB / 0.8233 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.5022, allocations: 0.75 kB / 0.8233 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.5022, allocations: 6.062 kB / 0.8233 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.396e-05/0.5023, allocations: 8.75 kB / 0.8233 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.5023, allocations: 7.594 kB / 0.8234 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.5023, allocations: 7.922 kB / 0.8234 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.518e-05/0.5023, allocations: 77.2 kB / 0.8234 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5023, allocations: 0 / 0.8234 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001902/0.5025, allocations: 39.19 kB / 0.8235 GB, free: 12.96 MB / 0.6198 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.00043/0.503, allocations: 0.7819 MB / 0.8242 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.5031, allocations: 58.08 kB / 0.8243 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5031, allocations: 1.094 kB / 0.8243 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.468e-05/0.5031, allocations: 30.06 kB / 0.8243 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.5033, allocations: 8.422 kB / 0.8243 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.5044, allocations: 1.514 MB / 0.8258 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.5046, allocations: 0.6882 MB / 0.8265 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.747e-05/0.5046, allocations: 15.98 kB / 0.8265 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.5046, allocations: 18.88 kB / 0.8265 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.5046, allocations: 0 / 0.8265 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/0.5238, allocations: 2.191 MB / 0.8287 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.43/6.954, allocations: 4.562 kB / 0.8287 GB, free: 9.699 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.149246669141576] Failed to read output from testmodel.py, exit status != 0: 7.035374689148739 7.058325122 6.555327451 Calling exit ...