Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001187/0.001187, 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.001197/0.001197, allocations: 213.8 kB / 22.25 MB, free: 3.711 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.9828/0.9828, allocations: 230.6 MB / 256 MB, free: 9.816 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.8168/0.8168, 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_DerivativeCheck,fileNamePrefix="IDEAS_dev_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_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",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.0008819/0.0008819, allocations: 73.52 kB / 0.7182 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.4854, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001617/0.487, allocations: 1.298 MB / 0.8191 GB, free: 364 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007163/0.4877, allocations: 0.6092 MB / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.558e-05/0.4878, allocations: 0 / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.4878, allocations: 0.8906 kB / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.518e-05/0.4878, allocations: 7.938 kB / 0.8197 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.4883, allocations: 147.9 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.906e-05/0.4883, allocations: 19.3 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.4884, allocations: 6.766 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.203e-05/0.4884, allocations: 6.953 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.396e-05/0.4885, allocations: 13.52 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.4885, allocations: 0 / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000413/0.4889, allocations: 342 kB / 0.8202 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.4889, allocations: 10.48 kB / 0.8203 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.596e-05/0.4889, allocations: 9.031 kB / 0.8203 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.4892, allocations: 152.5 kB / 0.8204 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.81e-06/0.4892, allocations: 0 / 0.8204 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4892, allocations: 0.5156 kB / 0.8204 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.4892, allocations: 3.938 kB / 0.8204 GB, free: 15.68 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003627/0.4896, allocations: 285.4 kB / 0.8207 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.4896, allocations: 9.125 kB / 0.8207 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.265e-05/0.4896, allocations: 35.31 kB / 0.8207 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.4897, allocations: 0.9375 kB / 0.8207 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.154e-05/0.4897, allocations: 115.2 kB / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.4897, allocations: 384 / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.4898, allocations: 4.453 kB / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.661e-05/0.4899, allocations: 38.22 kB / 0.8209 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.4899, allocations: 3.938 kB / 0.8209 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-06/0.4899, allocations: 3.656 kB / 0.8209 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4899, allocations: 0 / 0.8209 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.375e-05/0.4899, allocations: 16.17 kB / 0.8209 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.49, allocations: 126.8 kB / 0.821 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.4902, allocations: 45.53 kB / 0.8211 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.4902, allocations: 17.08 kB / 0.8211 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.4902, allocations: 3.219 kB / 0.8211 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.4902, allocations: 31.27 kB / 0.8211 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 5.71e-07/0.4902, allocations: 0 / 0.8211 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004646/0.4907, allocations: 243.9 kB / 0.8214 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.4907, allocations: 52.06 kB / 0.8214 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.87e-05/0.4908, allocations: 98.47 kB / 0.8215 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.4908, allocations: 32.61 kB / 0.8215 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.423e-05/0.4908, allocations: 88.14 kB / 0.8216 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.4908, allocations: 14.2 kB / 0.8216 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.4909, allocations: 26.86 kB / 0.8216 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.602e-05/0.4909, allocations: 318.8 kB / 0.822 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.007e-05/0.491, allocations: 10.5 kB / 0.822 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.464e-05/0.491, allocations: 10.61 kB / 0.822 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.31e-05/0.491, allocations: 30.95 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.491, allocations: 0 / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.613e-05/0.4911, allocations: 72.16 kB / 0.8221 GB, free: 14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.4911, allocations: 7.125 kB / 0.8221 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4911, allocations: 3.188 kB / 0.8221 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.4911, allocations: 192 / 0.8221 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.309e-05/0.4911, allocations: 9.281 kB / 0.8221 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.4912, allocations: 4.656 kB / 0.8221 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.103e-05/0.4912, allocations: 7.344 kB / 0.8221 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.4912, allocations: 0 / 0.8221 GB, free: 14 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 (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 5.272e-05/0.4912, allocations: 117.3 kB / 0.8222 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.4912, allocations: 12.36 kB / 0.8222 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003007/0.4915, allocations: 77.78 kB / 0.8223 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4915, allocations: 5.094 kB / 0.8223 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4915, allocations: 0 / 0.8223 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4915, allocations: 1.922 kB / 0.8223 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.4918, allocations: 287.5 kB / 0.8226 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4918, allocations: 2.406 kB / 0.8226 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/0.4918, allocations: 10.17 kB / 0.8226 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4918, allocations: 2.344 kB / 0.8226 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.4918, allocations: 0 / 0.8226 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4918, allocations: 2.406 kB / 0.8226 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4918, allocations: 0.75 kB / 0.8226 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.492, allocations: 195.5 kB / 0.8228 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/0.492, allocations: 9.891 kB / 0.8228 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.492, allocations: 0.7969 kB / 0.8228 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.302e-05/0.492, allocations: 2.688 kB / 0.8228 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.492, allocations: 4.25 kB / 0.8228 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.492, allocations: 2.406 kB / 0.8228 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.532e-05/0.4921, allocations: 87.16 kB / 0.8229 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4921, allocations: 64 / 0.8229 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001656/0.4922, allocations: 21.78 kB / 0.8229 GB, free: 13.24 MB / 0.6198 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.000369/0.4926, allocations: 0.7315 MB / 0.8236 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.565e-05/0.4927, allocations: 29 kB / 0.8237 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4927, allocations: 4.062 kB / 0.8237 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.181e-05/0.4927, allocations: 19.12 kB / 0.8237 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.4929, allocations: 4.016 kB / 0.8237 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008217/0.4937, allocations: 1.319 MB / 0.825 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.4939, allocations: 0.6846 MB / 0.8256 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.157e-05/0.4939, allocations: 1.172 kB / 0.8256 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.4939, allocations: 17.3 kB / 0.8257 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.4939, allocations: 3.938 kB / 0.8257 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01487/0.5088, allocations: 1.706 MB / 0.8273 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.753/7.261, allocations: 4.469 kB / 0.8273 GB, free: 10.13 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.264243056997657] Failed to read output from testmodel.py, exit status != 0: 7.339627051027492 7.352109809 6.86086384 Calling exit ...