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.001463/0.001463, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001656/0.001656, allocations: 215.7 kB / 22.25 MB, free: 5.262 MB / 14.72 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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 1.314/1.314, allocations: 203.8 MB / 0.5041 GB, free: 4.574 MB / 414.1 MB " [Timeout remaining time 178] 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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [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.002277/0.002277, allocations: 73.2 kB / 0.7186 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6447/0.647, allocations: 102 MB / 0.8183 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002539/0.6495, allocations: 1.281 MB / 0.8195 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.6506, allocations: 0.5448 MB / 0.8201 GB, free: 80 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.539e-05/0.6507, allocations: 0 / 0.8201 GB, free: 80 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.18e-05/0.6507, allocations: 0 / 0.8201 GB, free: 80 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.686e-05/0.6507, allocations: 7.938 kB / 0.8201 GB, free: 72 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.6513, allocations: 139.5 kB / 0.8202 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.422e-05/0.6514, allocations: 23.92 kB / 0.8202 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.93e-05/0.6515, allocations: 3.984 kB / 0.8202 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.077e-05/0.6515, allocations: 4 kB / 0.8202 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.514e-05/0.6516, allocations: 11.81 kB / 0.8202 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.6516, allocations: 0 / 0.8202 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004635/0.6521, allocations: 267.5 kB / 0.8205 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.6521, allocations: 11.98 kB / 0.8205 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.6521, allocations: 7.938 kB / 0.8205 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.6524, allocations: 137.9 kB / 0.8206 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.6524, allocations: 0 / 0.8206 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6524, allocations: 0 / 0.8206 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.6524, allocations: 0 / 0.8206 GB, free: 15.48 MB / 0.6075 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.0004966/0.6529, allocations: 286 kB / 0.8209 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.6529, allocations: 13.47 kB / 0.8209 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.653, allocations: 4.922 kB / 0.8209 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.6531, allocations: 118.5 kB / 0.821 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.6531, allocations: 8.312 kB / 0.8211 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.6532, allocations: 4.375 kB / 0.8211 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.6533, allocations: 67.95 kB / 0.8211 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.6533, allocations: 192 / 0.8211 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.6533, allocations: 3.938 kB / 0.8211 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.6533, allocations: 0 / 0.8211 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.836e-05/0.6534, allocations: 8 kB / 0.8211 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.6536, allocations: 109.3 kB / 0.8212 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.6538, allocations: 42.55 kB / 0.8213 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.573e-05/0.6538, allocations: 16.86 kB / 0.8213 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.6538, allocations: 4 kB / 0.8213 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.6539, allocations: 38.64 kB / 0.8213 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.6539, allocations: 3.938 kB / 0.8213 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.000688/0.6545, allocations: 237 kB / 0.8216 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.6546, allocations: 55.41 kB / 0.8216 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.747e-05/0.6547, allocations: 97.86 kB / 0.8217 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.6547, allocations: 25.7 kB / 0.8217 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.6547, allocations: 84.12 kB / 0.8218 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.6548, allocations: 19.86 kB / 0.8218 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.6548, allocations: 17.72 kB / 0.8219 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.655, allocations: 318.8 kB / 0.8222 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.731e-05/0.655, allocations: 12 kB / 0.8222 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.023e-05/0.655, allocations: 20 kB / 0.8222 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.768e-05/0.6551, allocations: 32.84 kB / 0.8222 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.6551, allocations: 0 / 0.8222 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001102/0.6552, allocations: 69.62 kB / 0.8223 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.6552, allocations: 8 kB / 0.8223 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.6552, allocations: 3.938 kB / 0.8223 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.6552, allocations: 0.5156 kB / 0.8223 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.199e-05/0.6553, allocations: 8 kB / 0.8223 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.6553, allocations: 4 kB / 0.8223 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.823e-05/0.6553, allocations: 4 kB / 0.8223 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.6553, allocations: 3.938 kB / 0.8223 GB, free: 13.56 MB / 0.6075 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.0001048/0.6554, allocations: 118.8 kB / 0.8224 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.6554, allocations: 3.984 kB / 0.8224 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.6556, allocations: 73.69 kB / 0.8225 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.6556, allocations: 3.984 kB / 0.8225 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.6556, allocations: 0 / 0.8225 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.6556, allocations: 0 / 0.8225 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003332/0.6559, allocations: 259.1 kB / 0.8228 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6559, allocations: 3.938 kB / 0.8228 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.586e-05/0.656, allocations: 16.03 kB / 0.8228 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.656, allocations: 0 / 0.8228 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.656, allocations: 0 / 0.8228 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.656, allocations: 4 kB / 0.8228 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.656, allocations: 3.938 kB / 0.8228 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.6562, allocations: 176.5 kB / 0.823 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.529e-05/0.6563, allocations: 11.97 kB / 0.823 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.6563, allocations: 7.984 kB / 0.823 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.347e-05/0.6564, allocations: 7.938 kB / 0.823 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.6564, allocations: 0 / 0.823 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.6564, allocations: 8.062 kB / 0.823 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.474e-05/0.6564, allocations: 87.27 kB / 0.8231 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.6564, allocations: 0 / 0.8231 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000252/0.6567, allocations: 23.81 kB / 0.8231 GB, free: 12.7 MB / 0.6075 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.0001932/0.6569, allocations: 123.1 kB / 0.8232 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.657, allocations: 31.98 kB / 0.8232 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.657, allocations: 0 / 0.8232 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.587e-05/0.657, allocations: 19.94 kB / 0.8233 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.6573, allocations: 3.938 kB / 0.8233 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004742/0.6578, allocations: 196.4 kB / 0.8235 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.756e-05/0.6578, allocations: 67.25 kB / 0.8235 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.587e-05/0.6579, allocations: 12.38 kB / 0.8235 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.6579, allocations: 7.438 kB / 0.8235 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of SimCode: time 3.6e-07/0.6579, allocations: 4 kB / 0.8235 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of Templates: time 0.003419/0.6613, allocations: 0.6226 MB / 0.8241 GB, free: 11.6 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.672862883657217] Failed to read output from testmodel.py, exit status != 0: 0.670582864433527 0.686754787 0.031239454000000003 Calling exit ...