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.0008561/0.0008561, 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.0008888/0.0008888, allocations: 217.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 0.9669/0.9669, allocations: 230.6 MB / 256 MB, free: 9.801 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.7954/0.7954, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.001228/0.001228, allocations: 63.31 kB / 0.7182 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4862/0.4874, allocations: 102 MB / 0.8179 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001515/0.4889, allocations: 1.308 MB / 0.8191 GB, free: 320 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000683/0.4896, allocations: 0.6164 MB / 0.8197 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.4896, allocations: 3.938 kB / 0.8198 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.4896, allocations: 0.5625 kB / 0.8198 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.549e-05/0.4897, allocations: 8.594 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.4901, allocations: 149.5 kB / 0.8199 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.083e-05/0.4901, allocations: 25.3 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.696e-05/0.4902, allocations: 1.812 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.425e-05/0.4902, allocations: 13.39 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.797e-05/0.4902, allocations: 17.77 kB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.4903, allocations: 0 / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003601/0.4906, allocations: 341.8 kB / 0.8203 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.4906, allocations: 19.61 kB / 0.8203 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.4907, allocations: 10.8 kB / 0.8203 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.4909, allocations: 154.4 kB / 0.8205 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.4909, allocations: 0 / 0.8205 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4909, allocations: 0 / 0.8205 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.4909, allocations: 1.562 kB / 0.8205 GB, free: 15.62 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.0003138/0.4912, allocations: 292.9 kB / 0.8207 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.4912, allocations: 9.516 kB / 0.8208 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.638e-05/0.4912, allocations: 38.02 kB / 0.8208 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.4913, allocations: 4.125 kB / 0.8208 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.77e-05/0.4913, allocations: 115.2 kB / 0.8209 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.4913, allocations: 7.578 kB / 0.8209 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.4914, allocations: 7.797 kB / 0.8209 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.369e-05/0.4915, allocations: 52.36 kB / 0.821 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.4915, allocations: 3.938 kB / 0.821 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.4915, allocations: 4 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4915, allocations: 0 / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.113e-05/0.4915, allocations: 18.83 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.4917, allocations: 133.5 kB / 0.8211 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.081e-05/0.4917, allocations: 55.42 kB / 0.8212 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.216e-05/0.4918, allocations: 29.88 kB / 0.8212 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.4918, allocations: 3.938 kB / 0.8212 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.4918, allocations: 38.55 kB / 0.8212 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.4918, allocations: 0 / 0.8212 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0007348/0.4925, allocations: 464.7 kB / 0.8217 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.4926, allocations: 55.41 kB / 0.8217 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.536e-05/0.4926, allocations: 92.3 kB / 0.8218 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.4926, allocations: 26.89 kB / 0.8219 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.413e-05/0.4927, allocations: 85.52 kB / 0.8219 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.4927, allocations: 42.03 kB / 0.822 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.4927, allocations: 29.5 kB / 0.822 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.263e-05/0.4928, allocations: 317.6 kB / 0.8223 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.902e-05/0.4928, allocations: 21.11 kB / 0.8223 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.691e-05/0.4928, allocations: 18.28 kB / 0.8223 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.58e-05/0.4929, allocations: 60.92 kB / 0.8224 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4929, allocations: 7.875 kB / 0.8224 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.31e-05/0.493, allocations: 103.2 kB / 0.8225 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.493, allocations: 8.562 kB / 0.8225 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.493, allocations: 1.125 kB / 0.8225 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.493, allocations: 0 / 0.8225 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.4931, allocations: 21.53 kB / 0.8225 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4931, allocations: 0.75 kB / 0.8225 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.266e-05/0.4931, allocations: 1.25 kB / 0.8225 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.4931, allocations: 2.312 kB / 0.8225 GB, free: 13.72 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.311e-05/0.4932, allocations: 117.2 kB / 0.8227 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-06/0.4932, allocations: 12.03 kB / 0.8227 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.4933, allocations: 110.2 kB / 0.8228 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4933, allocations: 2.344 kB / 0.8228 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.4933, allocations: 0 / 0.8228 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.4933, allocations: 0.6562 kB / 0.8228 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.4936, allocations: 327.7 kB / 0.8231 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4936, allocations: 0.6562 kB / 0.8231 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.516e-05/0.4937, allocations: 24.33 kB / 0.8231 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.4937, allocations: 1.188 kB / 0.8231 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.4937, allocations: 1.734 kB / 0.8231 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4937, allocations: 4 kB / 0.8231 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.4937, allocations: 1.188 kB / 0.8231 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.4938, allocations: 226 kB / 0.8233 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-06/0.4939, allocations: 3.125 kB / 0.8233 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.4939, allocations: 0.7969 kB / 0.8233 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.908e-05/0.4939, allocations: 12.7 kB / 0.8233 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.4939, allocations: 5.031 kB / 0.8234 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.4939, allocations: 4.875 kB / 0.8234 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.987e-05/0.494, allocations: 79.34 kB / 0.8234 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.494, allocations: 2.75 kB / 0.8234 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001684/0.4941, allocations: 36.55 kB / 0.8235 GB, free: 12.95 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.0003964/0.4945, allocations: 0.7835 MB / 0.8242 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.4946, allocations: 58.56 kB / 0.8243 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4946, allocations: 1.188 kB / 0.8243 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.929e-05/0.4947, allocations: 29.7 kB / 0.8243 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.4948, allocations: 11.31 kB / 0.8243 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009832/0.4958, allocations: 1.516 MB / 0.8258 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.496, allocations: 0.6837 MB / 0.8265 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.197e-05/0.496, allocations: 17.73 kB / 0.8265 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.496, allocations: 18.89 kB / 0.8265 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of SimCode: time 4e-07/0.496, allocations: 0.8125 kB / 0.8265 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.5129, allocations: 2.195 MB / 0.8287 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.545/7.058, allocations: 3.25 kB / 0.8287 GB, free: 9.672 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 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: 9.991387161891907] Failed to read output from testmodel.py, exit status != 0: 7.136109862942249 7.147349105 6.654310205 Calling exit ...